Abbreviated Python declarations

This commit is contained in:
2022-03-02 05:36:21 -05:00
parent 51ec2143e3
commit b8896a6b58
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/python3
#!/bin/python3
# sshync 2022.01.17.unreleased13
# sshync 2022.03.02.unreleased14
# external modules
+2 -2
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/bin/python3
# external modules
@@ -51,7 +51,7 @@ def entry_list_gen(): # generates and prints a list of all folders and entries
if _real <= get_terminal_size()[0]:
_width = len(' '.join(_entry_list))
else:
_width = (len(' '.join(_entry_list))/(_real/get_terminal_size()[0]) - 50)
_width = (len(' '.join(_entry_list)) / (_real / get_terminal_size()[0]) - 50)
try:
print(fill(' '.join(_entry_list), width=_width) + '\n')
except ValueError:
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/bin/python3
# external modules