Fixed some indentation errors

These errors were likely introduced when the code was run through a
code formatter in my IDE. I don't know
how I didn't notice them until now as they broke some functionality.
This commit is contained in:
AMRowsell 2021-06-30 03:49:57 +00:00
commit 41d0e04771

View file

@ -64,7 +64,7 @@ try:
with open(filename + "_converted.xbm", 'w') as f:
print("Writing output file...")
f.write(outputString.format(filename, width, height))
f.write(" {")
f.write(" {\n")
q = 0
for byte in outputData:
result = int('{:08b}'.format(byte)[::-1], 2)
@ -98,6 +98,7 @@ try:
f.write(outputString)
print("Done!")
sys.exit(0)
except FileNotFoundError:
print("{0}.MSP does not exist! Quitting...".format(filename))
sys.exit(255)