Fix sync not working due to non-ASCII Plex library names

This commit is contained in:
croneter 2019-03-17 11:54:09 +01:00
parent 98975ff23d
commit 3d4642dc56

View file

@ -99,7 +99,7 @@ class Section(object):
"'section_type': '{self.section_type}', " "'section_type': '{self.section_type}', "
"'sync_to_kodi': {self.sync_to_kodi}, " "'sync_to_kodi': {self.sync_to_kodi}, "
"'last_sync': {self.last_sync}" "'last_sync': {self.last_sync}"
"}}").format(self=self) "}}").format(self=self).encode('utf-8')
__str__ = __repr__ __str__ = __repr__
def __nonzero__(self): def __nonzero__(self):