# HG changeset patch # User Dennis Fink # Date 2015-10-20 00:24:04 # Node ID 526544b1c250669d413a802340b770f0d7ed7f16 # Parent a157ce848a118400c53b1878a367759aa317afba Fix update api There was a typo 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