gen_db.py no longer generating dumps for files blacklisted (settings.files_to_ignore).

pull/515/head
Alexander Gessler 2015-03-28 12:12:53 +01:00 committed by Alexander Gessler
parent 6824c8cbfe
commit fafe5584b6
1 changed files with 1 additions and 1 deletions

View File

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