1
0
mirror of https://github.com/mon/ifstools.git synced 2024-11-27 18:40:48 +01:00

Fix non-silent silent mode

This commit is contained in:
Will Toohey 2019-02-20 08:21:03 +10:00
parent 0c37d4a18f
commit 66ba4e1bd8

View File

@ -155,7 +155,7 @@ class IFS:
utime(f_path, (self.time, self.time))
# extract the files
for f in tqdm(self.tree.all_files):
for f in tqdm(self.tree.all_files, disable = not progress):
# allow recurse + tex_only to extract ifs files
if tex_only and not isinstance(f, ImageFile) and not isinstance(f, ImageCanvas) and not (recurse and f.name.endswith('.ifs')):
continue