From 7818058f166fadfbe7b99de25087a58002567a10 Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Fri, 4 Jan 2019 10:31:00 -0500 Subject: [PATCH] finish playlist exclusion --- fun/playlist_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index 6022028..dab85fc 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -615,9 +615,9 @@ if __name__ == "__main__": playlists = playlist_lst elif not opts.allPlaylists and opts.playlists: playlists = opts.playlists - elif opts.allUsers and opts.user: + elif opts.allPlaylists and opts.playlists: # If allPlaylists is used then any playlists listed will be excluded - for playlist in opts.user: + for playlist in opts.playlists: playlist_lst.remove(playlist) playlists = playlist_lst