From 35260d840ee571c2badb3fd414ae5867f606874b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 7 Mar 2024 00:25:45 +0200 Subject: [PATCH] actually fix error --- files/helpers/const_stateful.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/helpers/const_stateful.py b/files/helpers/const_stateful.py index 7564c4f0f..aedefecc8 100644 --- a/files/helpers/const_stateful.py +++ b/files/helpers/const_stateful.py @@ -35,7 +35,9 @@ def const_initialize(): SNAPPY_KONGS = db.query(Emoji.name).filter(Emoji.kind=="Donkey Kong", Emoji.submitter_id==None, Emoji.nsfw == False).all() SNAPPY_KONGS = [f':#{x[0]}:' for x in SNAPPY_KONGS] - GIGABOOSTED_HOLES = [x[0] for x in db.query(Hole.name).filter_by(stealth=True)] + ['highrollerclub','countryclub'] - 'chudrama' + GIGABOOSTED_HOLES = [x[0] for x in db.query(Hole.name).filter_by(stealth=True)] + ['highrollerclub','countryclub'] + if 'chudrama' in GIGABOOSTED_HOLES: + GIGABOOSTED_HOLES.remove('chudrama') NSFW_EMOJIS = [x[0] for x in db.query(Emoji.name).filter_by(nsfw=True)]