gen_db.py no longer generating dumps for files blacklisted (settings.files_to_ignore).
parent
6824c8cbfe
commit
fafe5584b6
|
@ -164,7 +164,7 @@ def gen_db(ext_list,outfile):
|
|||
num = 0
|
||||
for tp in settings.model_directories:
|
||||
num += process_dir(tp, outfile,
|
||||
lambda x: os.path.splitext(x)[1] in ext_list)
|
||||
lambda x: os.path.splitext(x)[1] in ext_list and not x in settings.files_to_ignore)
|
||||
|
||||
print("="*60)
|
||||
print("Updated {0} entries".format(num))
|
||||
|
|
Loading…
Reference in New Issue