From 845e13b4ae5f24c2e09f8a7926313f4ced4491d8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 1 Dec 2022 14:27:12 +0200 Subject: [PATCH] minor bug fix --- files/helpers/actions.py | 2 +- files/routes/posts.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 4683e1638..cbe362e2e 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -467,7 +467,7 @@ def execute_lawlz_actions(v:User, p:Submission): if SITE_NAME != 'rDrama': return if not FEATURES['PINS']: return p.stickied_utc = int(time.time()) + 86400 - p.stickied = AUTOJANNY_ID + p.stickied = "AutoJanny" p.distinguish_level = 6 p.flair = filter_emojis_only(":ben10: Required Reading") pin_time = 'for 1 day' diff --git a/files/routes/posts.py b/files/routes/posts.py index a04d14061..e8d3b7a5b 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -926,7 +926,7 @@ def submit_post(v:User, sub=None): if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008): post.stickied_utc = int(time.time()) + 3600 - post.stickied = AUTOJANNY_ID + post.stickied = "AutoJanny" cache.delete_memoized(frontlist) cache.delete_memoized(userpagelisting)