mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-31 22:36:31 -04:00
Abbreviated Python declarations
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/python3
|
||||
#!/bin/python3
|
||||
|
||||
# sshync 2022.01.17.unreleased13
|
||||
# sshync 2022.03.02.unreleased14
|
||||
|
||||
# external modules
|
||||
|
||||
|
||||
@@ -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
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/bin/python3
|
||||
|
||||
# external modules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user