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