From 63f75a43c0f201d75209f7f93844742dafb8b5d8 Mon Sep 17 00:00:00 2001 From: JackDandy Date: Tue, 22 May 2018 04:19:26 +0100 Subject: [PATCH] Fix SickGear-NG.py post processing script. --- CHANGES.md | 7 ++++++- autoProcessTV/SickGear-NG/SickGear-NG.py | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6fb12400..810f3f3b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.16.10 (2018-05-21 23:30:00 UTC) +### 0.16.11 (2018-05-22 00:00:00 UTC) + +* Fix SickGear-NG.py post processing script + + +### 0.16.10 (2018-05-21 23:30:00 UTC) * Fix importing TV shows with utf8 characters in parent folders on Windows * Fix utf8 in folders for SickGear-NG.py post processing script, script version bumped 1.5 to 1.6 diff --git a/autoProcessTV/SickGear-NG/SickGear-NG.py b/autoProcessTV/SickGear-NG/SickGear-NG.py index 4597f011..261d4a5e 100755 --- a/autoProcessTV/SickGear-NG/SickGear-NG.py +++ b/autoProcessTV/SickGear-NG/SickGear-NG.py @@ -307,8 +307,8 @@ class Ek: def ek(func, *args, **kwargs): if 'nt' == os.name: # convert all str parameter values to unicode - args = tuple([x if not isinstance(x, str) else win_encode_unicode(x) for x in args]) - kwargs = {k: x if not isinstance(x, str) else win_encode_unicode(x) for k, x in + args = tuple([x if not isinstance(x, str) else Ek.win_encode_unicode(x) for x in args]) + kwargs = {k: x if not isinstance(x, str) else Ek.win_encode_unicode(x) for k, x in kwargs.iteritems()} func_result = func(*args, **kwargs) else: