Fixing wrong space character

This commit is contained in:
Fabian Stamm 2018-10-05 21:58:20 +00:00
parent 5d30ebc8f0
commit ee05110963

View File

@ -37,7 +37,7 @@ class Auth(BaseAuth):
if login is None or login is "": if login is None or login is "":
return None return None
req_data = dict() req_data = dict()
res = requests.post(self.get_server() + "/api/login?type=username?username=" + login) res = requests.post(self.get_server() + "/api/login?type=username&username=" + login)
data = res.json() data = res.json()
if "error" in data: if "error" in data:
return None return None