[Grooveshark] declare user_id as an instance variable
This commit is contained in:
parent
42d4db47bf
commit
13ec5aca4f
2 changed files with 4 additions and 6 deletions
|
|
@ -68,7 +68,7 @@ class GroovesharkBackend(BaseBackend, ICapVideo, ICapCollection):
|
|||
collection = self.get_collection(objs, split_path)
|
||||
if collection.path_level == 0:
|
||||
yield Collection([u'albums'], u'Search for Albums')
|
||||
if self.browser.is_logged:
|
||||
if self.browser.is_logged():
|
||||
yield Collection([u'playlists'], u'Grooveshark Playlists')
|
||||
if collection.path_level == 1:
|
||||
if collection.split_path[0] == u'playlists':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue