forked from indymedia/epicyon
Missing argument
parent
964b8524b3
commit
c948effb85
2
utils.py
2
utils.py
|
@ -373,7 +373,7 @@ def deletePost(baseDir: str,httpPrefix: str,nickname: str,domain: str,postFilena
|
||||||
replyFile=locatePost(baseDir,nickname,domain,replyId)
|
replyFile=locatePost(baseDir,nickname,domain,replyId)
|
||||||
if replyFile:
|
if replyFile:
|
||||||
if os.path.isfile(replyFile):
|
if os.path.isfile(replyFile):
|
||||||
deletePost(baseDir,nickname,domain,replyFile,debug)
|
deletePost(baseDir,httpPrefix,nickname,domain,replyFile,debug)
|
||||||
# remove the replies file
|
# remove the replies file
|
||||||
os.remove(repliesFilename)
|
os.remove(repliesFilename)
|
||||||
# finally, remove the post itself
|
# finally, remove the post itself
|
||||||
|
|
Loading…
Reference in New Issue