mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
tools: skip hidden files in res_collect
This commit is contained in:
parent
81a8f0b9bc
commit
90836621f5
@ -12,6 +12,8 @@ def process_file(name):
|
|||||||
return
|
return
|
||||||
if name.endswith('.py'):
|
if name.endswith('.py'):
|
||||||
return
|
return
|
||||||
|
if os.path.basename(name).startswith('.'):
|
||||||
|
return
|
||||||
with open(name, 'rb') as f:
|
with open(name, 'rb') as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
resources[name] = data
|
resources[name] = data
|
||||||
|
Loading…
Reference in New Issue
Block a user