From 1000ca06951ad6c57496293becb8539b16225406 Mon Sep 17 00:00:00 2001 From: TrueTechy Date: Sun, 5 Jan 2020 17:21:50 +0000 Subject: [PATCH] Fix formatting --- jellyfin_kodi/client.py | 3 +-- jellyfin_kodi/jellyfin/http.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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: