aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/post.py b/cgi/post.py
index 741bebb..264f207 100644
--- a/cgi/post.py
+++ b/cgi/post.py
@@ -748,11 +748,11 @@ def deletePost(postid, password, deltype=0, imageonly=False, quick=False):
(newlast["timestamp"], threadNumReplies(post["parentid"]), post["parentid"], board["id"]))
if not post['parentid']:
- logging.info("Unlinking html")
if board['board_type'] == 1:
fname = Settings.ROOT_DIR + str(board["dir"]) + "/res/" + str(post["timestamp"]) + ".html"
else:
fname = Settings.ROOT_DIR + str(board["dir"]) + "/res/" + str(post["id"]) + ".html"
+ logging.info("Unlinking html " + fname)
try:
os.unlink(fname)