diff --git a/src/onthespot/web.py b/src/onthespot/web.py index d0b9981..ea12142 100644 --- a/src/onthespot/web.py +++ b/src/onthespot/web.py @@ -100,7 +100,7 @@ def clear_items(): return jsonify(success=True) @app.route('/download_queue') -def index(): +def download_queue(): config_path = os.path.join(config_dir(), 'onthespot', 'otsconfig.json') with open(config_path, 'r') as config_file: config_data = json.load(config_file)