Fix library sync crash due to PMS sending string, not unicode

This commit is contained in:
Croneter 2018-06-12 19:43:09 +02:00
parent 0dc1d70c1d
commit 2152c789c7
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ class API(object):
"""
Returns the title of the element as unicode or 'Missing Title Name'
"""
return self.item.get('title', 'Missing Title Name')
return try_decode(self.item.get('title', 'Missing Title Name'))
def titles(self):
"""