From 3f86508f9c913078a5b74f4b9e404861a4e5b62f Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Tue, 20 Jun 2023 14:00:11 -0400 Subject: [PATCH] Fixed line spacing before sync when shearing entries Former-commit-id: ba6325c80012acec52506f5005899655bb4688a9 Former-commit-id: 528c39efdbfc368e5bdfed38cff25db034b4217d --- lib/sshyp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 7183c5d..a3b7f55 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -691,7 +691,7 @@ if __name__ == "__main__": success_flag, sync_flag = True, True gen() elif arguments[1] == 'shear': - success_flag, sync_flag = True, True + success_flag = True remove_data() elif arg_count == 1: @@ -723,7 +723,7 @@ if __name__ == "__main__": elif not ssh_error: if sync_flag: sync() - elif arg_count > 0 and arguments[0] == 'sync': + elif (arg_count > 0 and arguments[0] == 'sync') or (arg_count > 1 and arguments[1] == 'shear'): sync('\n') except KeyboardInterrupt: