fix 500 error

pull/31/head
Aevann1 2022-11-29 03:47:54 +02:00
parent 9530bd50e3
commit ff2503ce4b
1 changed files with 2 additions and 2 deletions

View File

@ -923,8 +923,8 @@ def submit_post(v:User, sub=None):
execute_lawlz_actions(v, post)
if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
p.stickied_utc = int(time.time()) + 3600
p.stickied = AUTOJANNY_ID
post.stickied_utc = int(time.time()) + 3600
post.stickied = AUTOJANNY_ID
cache.delete_memoized(frontlist)
cache.delete_memoized(userpagelisting)