Compare strings

main
Bob Mottram 2023-05-25 09:52:19 +01:00
parent de2dee92f8
commit 276f9fc6a6
1 changed files with 2 additions and 2 deletions

View File

@ -1241,10 +1241,10 @@ def _remove_tags_for_nickname(base_dir: str, nickname: str,
if not filename.endswith(".txt"):
continue
try:
tag_filename = os.path.join(directory, filename)
tag_filename = os.path.join(base_dir + '/tags/', filename)
except OSError:
print('EX: _remove_tags_for_nickname unable to join ' +
str(directory) + ' ' + str(filename))
base_dir + '/tags/ ' + str(filename))
continue
if not os.path.isfile(tag_filename):
continue