mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
tools: fix whitespace in png2toi .py export
This commit is contained in:
parent
be9a05b55a
commit
ed581a5b36
@ -72,7 +72,7 @@ def process_image(ifn, savefiles=False):
|
||||
f.write(data)
|
||||
print('Written %s ... %d bytes' % (ofn, len(data)))
|
||||
with open(ofn_py, 'wb') as f:
|
||||
f.write(('%s = %s ' % (bname, data)).encode())
|
||||
f.write(('%s = %s\n' % (bname, data)).encode())
|
||||
print('Written %s ... %d bytes' % (ofn_py, len(data)))
|
||||
with open(ofn_h, 'wt') as f:
|
||||
f.write('static const uint8_t toi_%s[] = {\n' % bname)
|
||||
|
Loading…
Reference in New Issue
Block a user