summaryrefslogtreecommitdiff
path: root/anidb
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-09-11 20:13:56 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-09-11 20:15:24 +0200
commitabc9e49be214dfc814cc0b8dd74c40f8ec86d08a (patch)
tree09b3371740ec86915ae4cfc22f496c9b1c8051f7 /anidb
parentd10da5a150dbc78370eea7c06f331cf59d3d68c6 (diff)
Fixed a typo in recursive search.multihash
Diffstat (limited to 'anidb')
-rwxr-xr-xanidb2
1 files changed, 1 insertions, 1 deletions
diff --git a/anidb b/anidb
index 079bc07..795c3d4 100755
--- a/anidb
+++ b/anidb
@@ -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)