From 66ba4e1bd8e52fa44d5940fe9ba8df7e97d9710b Mon Sep 17 00:00:00 2001 From: Will Toohey Date: Wed, 20 Feb 2019 08:21:03 +1000 Subject: [PATCH] Fix non-silent silent mode --- ifstools/ifs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifstools/ifs.py b/ifstools/ifs.py index e1ae94b..002feac 100644 --- a/ifstools/ifs.py +++ b/ifstools/ifs.py @@ -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