diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 20:13:56 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 20:15:24 +0200 |
commit | abc9e49be214dfc814cc0b8dd74c40f8ec86d08a (patch) | |
tree | 09b3371740ec86915ae4cfc22f496c9b1c8051f7 /anidb | |
parent | d10da5a150dbc78370eea7c06f331cf59d3d68c6 (diff) |
Fixed a typo in recursive search.multihash
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) |