fd
This commit is contained in:
parent
13773f28fa
commit
b26640ed20
6 changed files with 9 additions and 13 deletions
|
@ -45,7 +45,9 @@ def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
|
|||
|
||||
if not pid:
|
||||
if comment.parent_submission: pid = comment.parent_submission
|
||||
else: pid = 6489
|
||||
elif "rdrama" in request.host: pid = 6489
|
||||
elif "pcm" in request.host: pid = 382
|
||||
else: pid = 1
|
||||
|
||||
try: pid = int(pid)
|
||||
except: abort(404)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue