From a9f59868f0c603c87b0b431657f3c8c5fd76ecbe Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Thu, 29 Dec 2016 15:42:19 +0100 Subject: [PATCH] Fix xml logging --- resources/lib/playlist_func.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/playlist_func.py b/resources/lib/playlist_func.py index d9b756d3..9e26f631 100644 --- a/resources/lib/playlist_func.py +++ b/resources/lib/playlist_func.py @@ -135,7 +135,8 @@ def _log_xml(xml): log.error('Did not receive an XML. Answer was: %s' % xml) else: from xml.etree.ElementTree import dump - log.error('XML received from the PMS: %s' % dump(xml)) + log.error('XML received from the PMS:') + dump(xml) def _get_playListVersion_from_xml(playlist, xml):