forked from rDrama/rDrama
fix 500 error in WPD/PCM
parent
803ce06712
commit
254798d0d4
|
@ -777,7 +777,8 @@ def submit_post(v, sub=None):
|
||||||
if url and url.startswith(SITE_FULL):
|
if url and url.startswith(SITE_FULL):
|
||||||
url = url.split(SITE_FULL)[1]
|
url = url.split(SITE_FULL)[1]
|
||||||
|
|
||||||
if v.agendaposter == 1: sub = 'chudrama'
|
if SITE == 'rdrama.net' and v.agendaposter == 1:
|
||||||
|
sub = 'chudrama'
|
||||||
|
|
||||||
post = Submission(
|
post = Submission(
|
||||||
private=bool(request.values.get("private","")),
|
private=bool(request.values.get("private","")),
|
||||||
|
|
Loading…
Reference in New Issue