From ae9d686aa1cae10f939f1198b37b587b6abfff94 Mon Sep 17 00:00:00 2001 From: boyska Date: Wed, 4 Dec 2013 16:38:36 +0100 Subject: [PATCH] ooops config name --- server/default_config.py | 2 +- server/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/default_config.py b/server/default_config.py index 218ca08..3b2889d 100644 --- a/server/default_config.py +++ b/server/default_config.py @@ -2,5 +2,5 @@ OUTPUT_DIR='output' HOST='localhost' PORT='8000' DEBUG=True -DB_URI='sqlite:///techrec.db' +DB_URI='sqlite://techrec.db' AUDIO_OUTPUT='output/' diff --git a/server/server.py b/server/server.py index b3484f3..035127f 100644 --- a/server/server.py +++ b/server/server.py @@ -85,7 +85,7 @@ class RecServer: ## Static part of the site self._app.route('/output/', callback=lambda filepath: - static_file(filepath, root=get_config()['OUTPUT_DIR'])) + static_file(filepath, root=get_config()['AUDIO_OUTPUT'])) self._app.route('/static/', callback=lambda filepath: static_file(filepath, root='static/'))