Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Fixed search results totals #115

Merged
merged 1 commit into from Jan 12, 2014
Merged

Fixed search results totals #115

merged 1 commit into from Jan 12, 2014

Conversation

richard-ive
Copy link

Fixes:

INFO:spotify.session:Logged in
spotify> search queens
spotify> Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "shell.py", line 137, in run
    stop = action(*args)
  File "shell.py", line 206, in do_search
    result.total_tracks, result.total_albums,
AttributeError: 'Search' object has no attribute 'total_tracks'

Fixes:

INFO:spotify.session:Logged in
spotify> search blur
spotify> Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "shell.py", line 137, in run
    stop = action(*args)
  File "shell.py", line 207, in do_search
    result.artists_total, result.playlist_total)
AttributeError: 'Search' object has no attribute 'artists_total'
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 51a05a5 on richard-ive:v2.x/develop into 91cd8d5 on mopidy:v2.x/develop.

jodal added a commit that referenced this pull request Jan 12, 2014
examples: Fixed search results totals
@jodal jodal merged commit 10e95ac into jodal:v2.x/develop Jan 12, 2014
@ghost ghost assigned jodal Jan 12, 2014
@jodal
Copy link
Owner

jodal commented Jan 12, 2014

Thanks!

And yes, @adamcik, I turned off the coveralls.io notifications for this repo now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants