mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Fixed retry bug again
This commit is contained in:
parent
cf75879a15
commit
0d2e173099
@ -12,4 +12,4 @@ v2.310, August 20, 2014 -- Added playlist replace and remove methods. Added auth
|
|||||||
tests. Improved API docs
|
tests. Improved API docs
|
||||||
v2.310, January 05, 2015 -- Added session support
|
v2.310, January 05, 2015 -- Added session support
|
||||||
v2.3.1, March 28, 2015 -- auto retry 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
|
||||||
|
@ -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.0 - January 5, 2015 -- Added session support added by akx.
|
||||||
- v2.3.2 - March 31, 2015 -- Added auto retry logic
|
- v2.3.2 - March 31, 2015 -- Added auto retry logic
|
||||||
- v2.3.3 - April 1, 2015 -- added client credential flow
|
- 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
|
||||||
|
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='spotipy',
|
name='spotipy',
|
||||||
version='2.3.4',
|
version='2.3.5',
|
||||||
description='simple client for the Spotify Web API',
|
description='simple client for the Spotify Web API',
|
||||||
author="@plamere",
|
author="@plamere",
|
||||||
author_email="paul@echonest.com",
|
author_email="paul@echonest.com",
|
||||||
|
@ -131,7 +131,7 @@ class Spotify(object):
|
|||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
delay += 1
|
delay += 1
|
||||||
else:
|
else:
|
||||||
print ('http status:' + status)
|
print ('http status:' + str(status))
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def _post(self, url, args=None, payload=None, **kwargs):
|
def _post(self, url, args=None, payload=None, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user