# HG changeset patch # User Dennis Fink # Date 2015-10-20 00:24:32 # Node ID f66d76e2cd7c4a8642f36e3b2af280e74905d096 # Parent d9e0f84ae51f1ece38eda01a02091cf7cea5617e # Parent 526544b1c250669d413a802340b770f0d7ed7f16 Merged hotfix-update-api diff --git a/ennstatus/api/auth.py b/ennstatus/api/auth.py --- a/ennstatus/api/auth.py +++ b/ennstatus/api/auth.py @@ -8,6 +8,6 @@ httpauth = HTTPDigestAuth() def get_pw(username): if username in current_app.config['ENNSTATUS_SERVERS']: - return current_app.confg['ENNSTATUS_SERVERS'][username]['PASSWORD'] + return current_app.config['ENNSTATUS_SERVERS'][username]['PASSWORD'] return None