Fixed retry bug again

This commit is contained in:
Paul Lamere 2015-04-28 07:17:10 -04:00
parent cf75879a15
commit 0d2e173099
4 changed files with 4 additions and 4 deletions

View File

@ -12,4 +12,4 @@ v2.310, August 20, 2014 -- Added playlist replace and remove methods. Added auth
tests. Improved API docs
v2.310, January 05, 2015 -- Added session support
v2.3.1, March 28, 2015 -- auto retry support
v2.3.4, April 28, 2015 -- fixed bug in auto retry support
v2.3.5, April 28, 2015 -- fixed bug in auto retry support

View File

@ -67,4 +67,4 @@ If you have suggestions, bugs or other issues specific to this library, file the
- v2.3.0 - January 5, 2015 -- Added session support added by akx.
- v2.3.2 - March 31, 2015 -- Added auto retry logic
- v2.3.3 - April 1, 2015 -- added client credential flow
- v2.3.4 - April 28, 2015 -- Fixed bug in auto retry logic
- v2.3.5 - April 28, 2015 -- Fixed bug in auto retry logic

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='spotipy',
version='2.3.4',
version='2.3.5',
description='simple client for the Spotify Web API',
author="@plamere",
author_email="paul@echonest.com",

View File

@ -131,7 +131,7 @@ class Spotify(object):
time.sleep(delay)
delay += 1
else:
print ('http status:' + status)
print ('http status:' + str(status))
raise
def _post(self, url, args=None, payload=None, **kwargs):