make me not upvote posts in /h/racist

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-21 19:47:59 +02:00
parent fbbd6f9be8
commit c0e9425015
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,7 @@ def submit_post(v, sub=None):
post.upvotes += 3
g.db.add(post)
if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','foid','truth') and v.id != AEVANN_ID:
if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','foid','truth','racist') and v.id != AEVANN_ID:
g.db.flush()
autovote = Vote(
user_id=AEVANN_ID,