forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-30 15:45:06 +02:00
parent 2c548ab8a5
commit 941378474a
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
if request.headers.get("Authorization"): return {'error': 'This content is not suitable for some users and situations.'}
else: render_template("errors/nsfw.html", v=v)
try: context = int(request.values.get("context", 0))
try: context = min(int(request.values.get("context", 0)), 8)
except: context = 0
comment_info = comment
c = comment