Skip to content

Commit

Permalink
fix double // being printed
Browse files Browse the repository at this point in the history
  • Loading branch information
DoTheEvo committed Aug 28, 2016
1 parent 609e99e commit 4b1ebb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion angrysearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,10 @@ def remove_excluded_dirs(self, dirs, root, to_ignore):
def show_ignored(self, root, item):
r = root.decode(encoding='utf-8', errors='ignore')
i = item.decode(encoding='utf-8', errors='ignore')
print('Ignoring directory: {}/{}'.format(r, i))
if r == '/':
print('Ignoring directory: /{}'.format(i))
else:
print('Ignoring directory: {}/{}'.format(r, i))

# FTS5 IS A NEW EXTENSION OF SQLITE
# SQLITE NEEDS TO BE COMPILED WITH FTS5 ENABLED
Expand Down

0 comments on commit 4b1ebb4

Please sign in to comment.