fix 500 error
parent
9530bd50e3
commit
ff2503ce4b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue