Fix IndentationError
This commit is contained in:
parent
3bc1caebca
commit
8799ec8592
1 changed files with 2 additions and 3 deletions
|
@ -489,8 +489,7 @@ class API(object):
|
||||||
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):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue