From 08d23872c4afa63cccfeebaf901221a9ddbb88ba Mon Sep 17 00:00:00 2001 From: aj Date: Mon, 23 Sep 2019 21:17:23 +0100 Subject: [PATCH] hotfix no processor list handling --- spotframework/engine/playlistengine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spotframework/engine/playlistengine.py b/spotframework/engine/playlistengine.py index 5f0be39..c067cce 100644 --- a/spotframework/engine/playlistengine.py +++ b/spotframework/engine/playlistengine.py @@ -85,6 +85,8 @@ class PlaylistEngine: processors: List[AbstractProcessor] = None, add_this_month: bool = False, add_last_month: bool = False) -> List[SpotifyTrack]: + if processors is None: + processors = [] this_month = monthstrings.get_this_month() last_month = monthstrings.get_last_month()