From b00ec8989cbdc9c30bba85606d207112d403630a Mon Sep 17 00:00:00 2001 From: Croneter Date: Wed, 2 May 2018 18:22:23 +0200 Subject: [PATCH] Optimize logging --- resources/lib/playlists.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/playlists.py b/resources/lib/playlists.py index 10814bff..078a6098 100644 --- a/resources/lib/playlists.py +++ b/resources/lib/playlists.py @@ -190,8 +190,7 @@ def m3u_to_plex_ids(playlist): try: text = text.decode(ENCODING) except UnicodeDecodeError: - LOG.warning('Fallback to ISO-8859-1 decoding for %s', - playlist.kodi_path) + LOG.warning('Fallback to ISO-8859-1 decoding for %s', playlist) text = text.decode('ISO-8859-1') for entry in _m3u_iterator(text): plex_id = utils.REGEX_PLEX_ID.search(entry)