mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Fixed line spacing before sync when shearing entries
Former-commit-id: ba6325c80012acec52506f5005899655bb4688a9 Former-commit-id: 528c39efdbfc368e5bdfed38cff25db034b4217d
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user