diff --git a/jellyfin_kodi/client.py b/jellyfin_kodi/client.py index c3482aea..d8fafa4b 100644 --- a/jellyfin_kodi/client.py +++ b/jellyfin_kodi/client.py @@ -103,10 +103,9 @@ def get_device_id(reset=False): file_guid.write(client_id) file_guid.close() - LOG.debug("DeviceId loaded: %s", client_id) window('jellyfin_deviceId', value=client_id) - + return client_id diff --git a/jellyfin_kodi/jellyfin/http.py b/jellyfin_kodi/jellyfin/http.py index 16c7a631..20314f66 100644 --- a/jellyfin_kodi/jellyfin/http.py +++ b/jellyfin_kodi/jellyfin/http.py @@ -147,7 +147,7 @@ class HTTP(object): raise HTTPException(r.status_code, error) except requests.exceptions.MissingSchema as error: - LOG.error("Request missing Schema. "+str(error)) + LOG.error("Request missing Schema. " + str(error)) raise HTTPException("MissingSchema", {'Id': self.config.data.get('auth.server', "None")}) except Exception as error: