From d455295d63bf031b7922bf6b69d6297ce883b528 Mon Sep 17 00:00:00 2001 From: Blagovest Petrov Date: Fri, 28 Oct 2016 16:52:54 +0300 Subject: [PATCH] Fixed config values problem --- server/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.py b/server/server.py index c268f0c..38a9ea1 100644 --- a/server/server.py +++ b/server/server.py @@ -16,6 +16,7 @@ for key in config.twitter_conf: except KeyError: print "Please, set the environment variable %s or set it in the config" % key sys.exit(1) + config.twitter_conf[key] = os.environ[key] logging.getLogger('').setLevel(logging.DEBUG)