fix space and tab mixing (nw)

This commit is contained in:
Miodrag Milanovic 2014-12-15 16:46:04 +01:00
parent ef1f42397a
commit 0d35e225af

View File

@ -42,13 +42,13 @@ try:
dst.write('0x%02x' % ord(b))
offs = offs + 1
if offs != bytes:
dst.write(',')
dst.write(',')
else:
break
if offs != bytes:
dst.write('\n\t')
if terminate == 1:
dst.write(',0x00')
dst.write(',0x00')
dst.write('\n};\n')
dst.close()
except IOError: