summaryrefslogtreecommitdiff
path: root/anidb.py
diff options
context:
space:
mode:
Diffstat (limited to 'anidb.py')
-rw-r--r--anidb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/anidb.py b/anidb.py
index 0075a96..b88d8e8 100644
--- a/anidb.py
+++ b/anidb.py
@@ -90,7 +90,7 @@ for name in args:
for root, subdirs, subfiles in os.walk(name):
subdirs.sort()
subfiles.sort()
- files += [os.path.join(root, file) for file in subfiles if sum([file.endswith('.' + suffix) for suffix in options.suffix])]
+ files += [os.path.join(root, file) for file in subfiles if True in [file.endswith('.' + suffix) for suffix in options.suffix]]
if not files:
print blue('Nothing to do.')