Skip to content

Commit

Permalink
Command-line running fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonBlue committed Jul 20, 2023
1 parent 26f07df commit 0ac7bc6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions runme.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
FinalFile = "Final.bin"
else:
FinalFile = args.output.split('.')[0] + ".bin"
try:
BrightMode = min(abs(int(args.bright), 16))
except:
BrightMode = 0
BrightMode = min(abs(args.bright), 16)
PatchImport = args.patches
VerboseMode = args.verbose
else:
Expand Down

0 comments on commit 0ac7bc6

Please sign in to comment.