From f3d088d6fbc91b77acdc3e398925b25f5037c730 Mon Sep 17 00:00:00 2001 From: Lili Date: Fri, 13 Jan 2023 12:57:43 +0100 Subject: [PATCH] change types to categories to avoid confusion with actual types of redeems like list --- tlapbot/__init__.py | 2 +- tlapbot/default_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tlapbot/__init__.py b/tlapbot/__init__.py index 4bc5e57..6e3c26c 100644 --- a/tlapbot/__init__.py +++ b/tlapbot/__init__.py @@ -26,7 +26,7 @@ def create_app(test_config=None): app.config.from_pyfile('redeems.py', silent=True) app.config.from_mapping( REDEEMS=remove_inactive_redeems(app.config['REDEEMS'], - app.config['ACTIVE_TYPES']) + app.config['ACTIVE_CATEGORIES']) ) # Make logging work for gunicorn-ran instances of tlapbot. diff --git a/tlapbot/default_config.py b/tlapbot/default_config.py index 42aa861..ce2526e 100644 --- a/tlapbot/default_config.py +++ b/tlapbot/default_config.py @@ -4,6 +4,6 @@ OWNCAST_INSTANCE_URL='http://localhost:8080' POINTS_CYCLE_TIME=600 POINTS_AMOUNT_GIVEN=10 LIST_REDEEMS=False -ACTIVE_TYPES=[] +ACTIVE_CATEGORIES=[] GUNICORN=False PREFIX='!' \ No newline at end of file