diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/bfind.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfind.py b/src/bfind.py index bf88d06..081a8d0 100755 --- a/src/bfind.py +++ b/src/bfind.py @@ -52,7 +52,7 @@ else: while len(queue) > 0: path = queue[0] queue[:] = queue[1:] - if visible and (path.startswith('.') or ('/.' in path)): + if visible and (path.startswith('.') or ((os.sep + '.') in path)): continue if hardlinks: stat = os.stat(path) |