1
0
forked from me/IronOS

changed Intel HEX gen to use correct line endings on all OSes

This commit is contained in:
aWZHY0yQH81uOYvH
2019-08-27 22:58:39 -07:00
parent 481be32c2f
commit ef88d5ec31

View File

@@ -229,7 +229,7 @@ if __name__ == "__main__":
sys.exit(1)
try:
with open(args.output_filename, 'w') as output:
with open(args.output_filename, 'w', newline='\r\n') as output:
img2hex(args.input_filename,
output,
args.preview,