From deaa9c20234b39297e7c9cae58e7725bd7b08816 Mon Sep 17 00:00:00 2001 From: Rohith Date: Tue, 12 Jul 2022 17:50:37 -0500 Subject: [PATCH] Fixed deezer playlists not unpacking when using deezer id --- plex-playlist-sync/utils/deezer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plex-playlist-sync/utils/deezer.py b/plex-playlist-sync/utils/deezer.py index bbd0c72..3ff045c 100644 --- a/plex-playlist-sync/utils/deezer.py +++ b/plex-playlist-sync/utils/deezer.py @@ -28,9 +28,9 @@ def _get_dz_playlists( if userInputs.deezer_user_id: try: - dz_user_playlists = dz.get_user( - userInputs.deezer_user_id - ).get_playlists() + dz_user_playlists = [ + *dz.get_user(userInputs.deezer_user_id).get_playlists() + ] except: dz_user_playlists = [] logging.info(