master
Aevann1 2021-07-22 16:54:19 +02:00
parent 50f1935cd8
commit efa9bdd8ee
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
post._preloaded_comments = [comment] post._preloaded_comments = [comment]
# context improver # context improver
context = int(request.args.get("context", 0)) try: context = int(request.args.get("context", 0))
except: context = 0
comment_info = comment comment_info = comment
c = comment c = comment
while context > 0 and not c.is_top_level: while context > 0 and not c.is_top_level: