From 90836621f5993f014042b38c1077944031247e70 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 6 Oct 2016 17:54:57 +0200 Subject: [PATCH] tools: skip hidden files in res_collect --- tools/res_collect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/res_collect.py b/tools/res_collect.py index 6d78e8aae..fe3121f33 100755 --- a/tools/res_collect.py +++ b/tools/res_collect.py @@ -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