diff options
Diffstat (limited to 'watchnews/wsgi.py')
-rw-r--r-- | watchnews/wsgi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watchnews/wsgi.py b/watchnews/wsgi.py index bd157cb..1a5240b 100644 --- a/watchnews/wsgi.py +++ b/watchnews/wsgi.py @@ -2,9 +2,9 @@ from watchnews import web, data import os -dbpath = os.environ.get("WATCHNEWS_DBPATH") +dbpath = os.environ.get('WATCHNEWS_DBPATH') if not dbpath: - raise Exception("WATCHNEWS_DBPATH must be set") + raise Exception('WATCHNEWS_DBPATH must be set') data.init_sqlite(dbpath) application = web.get_app() |