From 3ad62a6d413148e78b898f31e7742adb54ffe37e Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 21 Feb 2023 15:31:09 -0500 Subject: [PATCH] [79] fix use_* in playlists --- VERSION | 2 +- modules/builder.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index bdde5f45..74071986 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop78 +1.18.3-develop79 diff --git a/modules/builder.py b/modules/builder.py index bc03607d..980a5076 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -265,7 +265,7 @@ class CollectionBuilder: self.obj = None self.only_run_on_create = False - if "only_run_on_create" in methods: + if "only_run_on_create" in methods and not self.playlist: logger.debug("") logger.debug("Validating Method: only_run_on_create") logger.debug(f"Value: {data[methods['only_run_on_create']]}") @@ -273,7 +273,7 @@ class CollectionBuilder: if self.obj and self.only_run_on_create: raise NotScheduled("Skipped because only_run_on_create is True and the collection already exists") - if "allowed_library_types" in methods and not self.playlist: + if "allowed_library_types" in methods: logger.debug("") logger.debug("Validating Method: allowed_library_types") if self.data[methods["allowed_library_types"]] is None: