Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
disconn3ct authored Aug 30, 2023
1 parent 1c10c5c commit c20e3ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jellyfin_kodi/jellyfin/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ def login(self, server_url, username, password=""):
try:
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))

if response.status_code == 200:
return response.json()
else:
Expand Down

0 comments on commit c20e3ef

Please sign in to comment.