forked from indymedia/epicyon
Use tags directory
parent
22360c908a
commit
079095341a
|
@ -660,7 +660,7 @@ def removeTagsForNickname(baseDir: str,nickname: str,domain: str,port: int) -> N
|
||||||
filename = os.fsdecode(f)
|
filename = os.fsdecode(f)
|
||||||
if not filename.endswith(".txt"):
|
if not filename.endswith(".txt"):
|
||||||
continue
|
continue
|
||||||
tagFilename=os.path.join(baseDir+'/accounts/',filename)
|
tagFilename=os.path.join(directory,filename)
|
||||||
if not os.path.isfile(tagFilename):
|
if not os.path.isfile(tagFilename):
|
||||||
continue
|
continue
|
||||||
if matchStr not in open(tagFilename).read():
|
if matchStr not in open(tagFilename).read():
|
||||||
|
|
Loading…
Reference in New Issue