fd
This commit is contained in:
parent
a46b08bb64
commit
fb4a0cd4e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue