Merge pull request #32 from pawelszramowski/fix_playlist_num

Display correct number of playlists
This commit is contained in:
Casey Chu
2020-12-11 21:50:32 -08:00
committed by GitHub

View File

@@ -168,7 +168,7 @@ def main():
if 'playlists' in args.dump:
logging.info('Loading playlists...')
playlist_data = spotify.list('users/{user_id}/playlists'.format(user_id=me['id']), {'limit': 50})
logging.info(f'Found {len(playlists)} playlists')
logging.info(f'Found {len(playlist_data)} playlists')
# List all tracks in each playlist
for playlist in playlist_data: