Merge pull request #774 from croneter/fix-unicode

Fix sync not working due to non-ASCII Plex library names
This commit is contained in:
croneter 2019-03-17 17:58:15 +01:00 committed by GitHub
commit 392f3f6359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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):