Merge pull request #254 from ology/master

Use the playlist.title, not the playlist object, for logging
This commit is contained in:
blacktwin 2020-11-12 09:05:08 -05:00 committed by GitHub
commit c24fcc980b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -870,7 +870,7 @@ if __name__ == "__main__":
logger.info("Displaying the user's playlist(s)...")
for data in playlist_dict['data']:
user = data['user']
playlists = [playlist for playlist in data['all_playlists']]
playlists = [playlist.title for playlist in data['all_playlists']]
logger.info("{}'s current playlist(s): {}".format(user, ', '.join(playlists)))
exit()