Fix IndentationError

This commit is contained in:
croneter 2018-10-24 17:51:43 +02:00
parent 3bc1caebca
commit 8799ec8592

View file

@ -485,12 +485,11 @@ class API(object):
return cast(unicode, self.item.get('title', 'Missing Title Name')) return cast(unicode, self.item.get('title', 'Missing Title Name'))
def sorttitle(self): def sorttitle(self):
""" """
Returns an item's sorting name/title or the title itself if not found Returns an item's sorting name/title or the title itself if not found
"Missing Title" if both are not present "Missing Title" if both are not present
""" """
return cast(unicode, self.item.get('titleSort', return cast(unicode, self.item.get('titleSort', self.item.get('title', 'Missing Title')))
self.item.get('title','Missing Title')))
def artist_name(self): def artist_name(self):
""" """