Skip to content

Commit 1ce9f30

Browse files
authored
Update autosort.py
1 parent 8302bf9 commit 1ce9f30

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

auto_pixelsort/autosort.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ def Main():
8484
args, _ = getopt.getopt(argument_list, options)
8585
for current_argument, current_value in args:
8686
if current_argument in ('-h'):
87-
print('-'*30)
87+
print('-' * 30)
8888
print('-h : args description')
8989
print('-i : pass location of input img-file')
9090
print('-n : number of outputs required')
91-
print('-'*30)
91+
print('-' * 30)
9292
if current_argument in ('-i'):
93-
print('-'*30)
93+
print('-' * 30)
9494
in_path += current_value
9595
print(f'[+] Input-file: {in_path}')
9696
if current_argument in ('-n'):
9797
count = int(current_value)
9898
print(f'[+] Output-Count: {current_value}')
99-
print('-'*30)
99+
print('-' * 30)
100100

101101
except getopt.error as error:
102102
print(str(error))
@@ -124,7 +124,8 @@ def Main():
124124
new_img = perform_sorting(args, img)
125125
# --- SAVE NEW FILE ---
126126
new_img.save(out_file)
127-
print('-'*30)
127+
print('-' * 30)
128+
128129

129130
if __name__ == "__main__":
130131
Main()

0 commit comments

Comments
 (0)