mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +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
|
||||
if name.endswith('.py'):
|
||||
return
|
||||
if os.path.basename(name).startswith('.'):
|
||||
return
|
||||
with open(name, 'rb') as f:
|
||||
data = f.read()
|
||||
resources[name] = data
|
||||
|
Loading…
Reference in New Issue
Block a user