This commit is contained in:
Aevann1 2021-09-05 11:37:05 +02:00
parent 13773f28fa
commit b26640ed20
6 changed files with 9 additions and 13 deletions

View file

@ -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)