Update scdl.py

small fix, so favorites can be downloaded as well in the intended way.
master
mauricebasement 2014-12-30 01:44:09 +01:00 committed by flyingrub
parent 301714fbda
commit ce6076cf2e
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ def download_user_favorites(user):
print('Favorite n°%d' % (count))
download_track(track)
offset += 10
client.get('/users/' + str(user.id) + '/favorites', limit=10, offset=offset)
favorites = client.get('/users/' + str(user.id) + '/favorites', limit=10, offset=offset)
print('All users favorites downloaded!')