From 868646bf4fa8781fe5c2df8053f199a8c34e459b Mon Sep 17 00:00:00 2001 From: Chuddah Date: Sun, 23 Feb 2020 15:26:15 +0000 Subject: [PATCH] Added better names for variables --- jellyfin_kodi/jellyfin/http.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jellyfin_kodi/jellyfin/http.py b/jellyfin_kodi/jellyfin/http.py index d6ed9c3b..b7607c72 100644 --- a/jellyfin_kodi/jellyfin/http.py +++ b/jellyfin_kodi/jellyfin/http.py @@ -204,8 +204,8 @@ class HTTP(object): } if 'x-emby-authorization' not in headers: - xxx = self._authorization(config) - headers.update(xxx) + auth_headers = self._authorization(config) + headers.update(auth_headers) return headers @@ -220,10 +220,10 @@ class HTTP(object): if config.get('auth.token') and config.get('auth.user_id'): auth += ', UserId=%s' % config.get('auth.user_id') - xxx = {'x-emby-authorization': auth, 'X-MediaBrowser-Token': config.get('auth.token')} + headers = {'x-emby-authorization': auth, 'X-MediaBrowser-Token': config.get('auth.token')} else: - xxx = {'x-emby-authorization': auth} - return xxx + headers = {'x-emby-authorization': auth} + return headers def _requests(self, session, action, **kwargs):