Browse Source

Fixed config values problem

python-server
Blagovest Petrov 8 years ago
parent
commit
d455295d63
  1. 1
      server/server.py

1
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)

Loading…
Cancel
Save