mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
fixup
This commit is contained in:
parent
1c10c5cf02
commit
c20e3efc35
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ class API(object):
|
||||||
try:
|
try:
|
||||||
LOG.info("Trying to login to %s/%s as %s" % (server_url, path, username))
|
LOG.info("Trying to login to %s/%s as %s" % (server_url, path, username))
|
||||||
response = self.send_request(server_url, path, method="post", timeout=10, headers=headers, data=json.dumps(auth_data))
|
response = self.send_request(server_url, path, method="post", timeout=10, headers=headers, data=json.dumps(auth_data))
|
||||||
|
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
return response.json()
|
return response.json()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue