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

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

Projects

None yet

2 participants

@liamw9534

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
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 bug 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