From 9cd7121fab8b1aae84b03fff1d6559b64fe47ab3 Mon Sep 17 00:00:00 2001 From: posativ Date: Mon, 27 Aug 2012 12:24:23 +0200 Subject: [PATCH] configuration from environment variable --- regenwolken/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regenwolken/__init__.py b/regenwolken/__init__.py index cc803b9..ba468f5 100644 --- a/regenwolken/__init__.py +++ b/regenwolken/__init__.py @@ -35,7 +35,7 @@ def __init__(self): flask.Flask.__init__(self, __name__) self.config.from_object('regenwolken.utils.conf') - self.config.from_pyfile('../regenwolken.cfg', silent=True) + self.config.from_envvar('REGENWOLKEN_SETTINGS', silent=True) self.setup_routes() self.setup_mongodb()