mirror of https://gitlab.com/bashrc2/epicyon
Compare strings
parent
de2dee92f8
commit
276f9fc6a6
|
@ -1241,10 +1241,10 @@ def _remove_tags_for_nickname(base_dir: str, nickname: str,
|
||||||
if not filename.endswith(".txt"):
|
if not filename.endswith(".txt"):
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
tag_filename = os.path.join(directory, filename)
|
tag_filename = os.path.join(base_dir + '/tags/', filename)
|
||||||
except OSError:
|
except OSError:
|
||||||
print('EX: _remove_tags_for_nickname unable to join ' +
|
print('EX: _remove_tags_for_nickname unable to join ' +
|
||||||
str(directory) + ' ' + str(filename))
|
base_dir + '/tags/ ' + str(filename))
|
||||||
continue
|
continue
|
||||||
if not os.path.isfile(tag_filename):
|
if not os.path.isfile(tag_filename):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue