more oop
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-26 23:39:09 +01:00
parent fe28b1e8e1
commit d6780481d3
5 changed files with 126 additions and 158 deletions

View File

@@ -23,7 +23,7 @@ class ListsApi(UserStoreResource):
try:
currcreds = self.encryptor.load(flaskred.get(request.headers.get('Authorization')).decode('UTF-8'))
except Exception as e:
current_app.logger.warning(e)
current_app.logger.info(e)
abort(401, "unauthorized")
musicbrainzngs.auth(currcreds['name'], currcreds['password'])