From 6075642e9e4319177860b6b333ac520e583f5811 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 3 Feb 2018 14:49:56 +0100 Subject: [PATCH] Fix logging --- resources/lib/playlist_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playlist_func.py b/resources/lib/playlist_func.py index 5c2d67ba..58fb76cc 100644 --- a/resources/lib/playlist_func.py +++ b/resources/lib/playlist_func.py @@ -445,7 +445,7 @@ def init_Plex_playlist(playlist, plex_id=None, kodi_item=None): item = playlist_item_from_xml(playlist, xml[0]) except (KeyError, IndexError, TypeError): raise PlaylistError('Could not init Plex playlist with plex_id %s and ' - 'kodi_item %s', plex_id, kodi_item) + 'kodi_item %s' % (plex_id, kodi_item)) playlist.items.append(item) LOG.debug('Initialized the playlist on the Plex side: %s', playlist) return item