This commit is contained in:
Aevann1 2022-04-25 21:52:30 +02:00
parent aa3e9dcf47
commit 7813db66ab
3 changed files with 10 additions and 0 deletions

View file

@ -1128,6 +1128,9 @@ def submit_post(v, sub=None):
ghost=ghost
)
if SITE == 'cringetopia.org': post.site = 1
elif SITE == 'watchpeopledie.co': post.site = 2
g.db.add(post)
g.db.flush()