fix 500 error

master
Aevann1 2022-12-10 10:24:29 +02:00
parent 45be6970d6
commit ff2ced1911
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ def submit_post(v:User, sub=None):
if (SITE == 'rdrama.net'
and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008)
and not (post.sub and post.sub.stealth)):
and not (post.sub and post.subr.stealth)):
post.stickied_utc = int(time.time()) + 3600
post.stickied = "AutoJanny"