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

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

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

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

liamw9534 opened this issue Apr 8, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@liamw9534
Copy link

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 as completed in 9ade46f Apr 9, 2014
@jodal
Copy link
Owner

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants