New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Album cover_link() TypeError: an integer is required #126

Closed
liamw9534 opened this Issue Apr 8, 2014 · 1 comment

Comments

2 participants
@liamw9534

liamw9534 commented Apr 8, 2014

Invoking cover_link() on an Album object yields the following run-time error:

File "/usr/local/lib/python2.7/dist-packages/spotify/album.py", line 112, in cover_link
    self._sp_album, image_size)
  File "/usr/local/lib/python2.7/dist-packages/spotify/__init__.py", line 44, in wrapper
    return f(*args, **kwargs)
TypeError: an integer is required

I think this might be caused by passing spotify.ImageSize.NORMAL as an integer.

@jodal jodal closed this in 9ade46f Apr 9, 2014

@jodal

This comment has been minimized.

Member

jodal commented Apr 9, 2014

Thanks for your bug report! The issue should be fixed in the develop branch now. A 2.0.0b1 release should hopefully only be a week or so away if you want to wait for a new release.

@jodal jodal added 2.x labels Apr 9, 2014

@jodal jodal added this to the v2.0.0b1 milestone Apr 9, 2014

@jodal jodal self-assigned this Apr 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment