Fix library sync crash due to PMS sending string, not unicode
This commit is contained in:
parent
0dc1d70c1d
commit
2152c789c7
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue