tools: skip hidden files in res_collect

This commit is contained in:
Pavol Rusnak 2016-10-06 17:54:57 +02:00
parent 81a8f0b9bc
commit 90836621f5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
1 changed files with 2 additions and 0 deletions

View File

@ -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