From b8dcff14af518c99aa7165a4034abaadadf9eb6a Mon Sep 17 00:00:00 2001 From: Schmell Mafeet Date: Fri, 11 Nov 2016 08:10:21 -0500 Subject: [PATCH] fix utf-8 encoding issue as per edit4ever fix --- zap2xml.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zap2xml.py b/zap2xml.py index 807f026..89945f4 100644 --- a/zap2xml.py +++ b/zap2xml.py @@ -1549,12 +1549,12 @@ def makeDescsortList(optList): cast = cast + castlist if 'title' in program: - prog = enc(program['title']) + prog = program['title'] if 'episode' in program: - epis = enc(program['episode']) - episqts = '\"' + enc(program['episode']) + '\"' + epis = program['episode'] + episqts = '\"' + program['episode'] + '\"' if 'description' in program: - plot = enc(program['description']) + plot = program['description'] if "-V" in options: optList = ast.literal_eval(options["-V"]) descsort = " ".join(makeDescsortList(optList))