From ff2ced1911ce60f38dfd7b49a5f2affbd10373cd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 10 Dec 2022 10:24:29 +0200 Subject: [PATCH] fix 500 error --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index c9601b2e4..d5c263220 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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"