From 15b8b74a9bc1a3a8a84a5fb72104e7981daa899e Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Fri, 28 Oct 2011 09:46:43 +0100 Subject: [PATCH] do not die if the app configuration is not found --- server/djrandom/frontend/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/djrandom/frontend/frontend.py b/server/djrandom/frontend/frontend.py index df38343..8608c80 100644 --- a/server/djrandom/frontend/frontend.py +++ b/server/djrandom/frontend/frontend.py @@ -50,7 +50,7 @@ def run_frontend(opts): ) # Set some configuration options in the Flask global config. - app.config.from_pyfile(opts.app_config) + app.config.from_pyfile(opts.app_config, silent=True) http_server = WSGIServer((opts.bind_address, opts.port), app) http_server.serve_forever() -- GitLab