mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -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
|
success_flag, sync_flag = True, True
|
||||||
gen()
|
gen()
|
||||||
elif arguments[1] == 'shear':
|
elif arguments[1] == 'shear':
|
||||||
success_flag, sync_flag = True, True
|
success_flag = True
|
||||||
remove_data()
|
remove_data()
|
||||||
|
|
||||||
elif arg_count == 1:
|
elif arg_count == 1:
|
||||||
@@ -723,7 +723,7 @@ if __name__ == "__main__":
|
|||||||
elif not ssh_error:
|
elif not ssh_error:
|
||||||
if sync_flag:
|
if sync_flag:
|
||||||
sync()
|
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')
|
sync('\n')
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|||||||
Reference in New Issue
Block a user