From 3d4642dc56dbde689663ebf40027c94909b6ef92 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 17 Mar 2019 11:54:09 +0100 Subject: [PATCH] Fix sync not working due to non-ASCII Plex library names --- resources/lib/library_sync/sections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/library_sync/sections.py b/resources/lib/library_sync/sections.py index cfa3bdce..d8e0bb38 100644 --- a/resources/lib/library_sync/sections.py +++ b/resources/lib/library_sync/sections.py @@ -99,7 +99,7 @@ class Section(object): "'section_type': '{self.section_type}', " "'sync_to_kodi': {self.sync_to_kodi}, " "'last_sync': {self.last_sync}" - "}}").format(self=self) + "}}").format(self=self).encode('utf-8') __str__ = __repr__ def __nonzero__(self):