diff options
Diffstat (limited to 'anidb')
-rwxr-xr-x | anidb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ while remaining: if sub.startswith('.'): continue sub = os.path.join(name, sub) - if os.path.isfile(name) and any(sub.endswith('.' + suffix) for suffix in options.suffix): + if os.path.isfile(sub) and any(sub.endswith('.' + suffix) for suffix in options.suffix): files.append(sub) elif os.path.isdir(sub): remaining.appendleft(sub) |