This commit is contained in:
Aevann1 2021-07-22 16:54:19 +02:00
parent e03db43f61
commit c936c37703

View file

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