fix 500 error in WPD/PCM

master
Aevann1 2022-11-11 06:42:58 +02:00
parent 803ce06712
commit 254798d0d4
1 changed files with 2 additions and 1 deletions

View File

@ -777,7 +777,8 @@ def submit_post(v, sub=None):
if url and url.startswith(SITE_FULL):
url = url.split(SITE_FULL)[1]
if v.agendaposter == 1: sub = 'chudrama'
if SITE == 'rdrama.net' and v.agendaposter == 1:
sub = 'chudrama'
post = Submission(
private=bool(request.values.get("private","")),