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