change types to categories

to avoid confusion with actual types of redeems like list
This commit is contained in:
Lili (Tlapka) 2023-01-13 12:57:43 +01:00
parent ae792192e8
commit f3d088d6fb
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ def create_app(test_config=None):
app.config.from_pyfile('redeems.py', silent=True) app.config.from_pyfile('redeems.py', silent=True)
app.config.from_mapping( app.config.from_mapping(
REDEEMS=remove_inactive_redeems(app.config['REDEEMS'], REDEEMS=remove_inactive_redeems(app.config['REDEEMS'],
app.config['ACTIVE_TYPES']) app.config['ACTIVE_CATEGORIES'])
) )
# Make logging work for gunicorn-ran instances of tlapbot. # Make logging work for gunicorn-ran instances of tlapbot.

View File

@ -4,6 +4,6 @@ OWNCAST_INSTANCE_URL='http://localhost:8080'
POINTS_CYCLE_TIME=600 POINTS_CYCLE_TIME=600
POINTS_AMOUNT_GIVEN=10 POINTS_AMOUNT_GIVEN=10
LIST_REDEEMS=False LIST_REDEEMS=False
ACTIVE_TYPES=[] ACTIVE_CATEGORIES=[]
GUNICORN=False GUNICORN=False
PREFIX='!' PREFIX='!'