tools: add fmt:off to res_collect

pull/25/head
Pavol Rusnak 6 years ago
parent 9122587825
commit 28455a8789
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -42,6 +42,7 @@ for name in os.listdir('apps/'):
resfile = 'trezor/res/resources.py'
bio = io.StringIO()
bio.write('# fmt: off\n')
bio.write('resdata = {\n')
for k in sorted(resources.keys()):
bio.write(" '%s': %s,\n" % (k, resources[k]))

Loading…
Cancel
Save