[97] fix url_theme error

This commit is contained in:
meisnate12 2022-03-07 21:37:40 -05:00
parent b288472e72
commit dd7a8e784f
2 changed files with 4 additions and 2 deletions

View file

@ -1 +1 @@
1.15.1-develop96
1.15.1-develop97

View file

@ -302,6 +302,8 @@ class CollectionBuilder:
self.server_preroll = None
self.current_time = datetime.now()
self.current_year = self.current_time.year
self.url_theme = None
self.file_theme = None
self.collection_poster = None
self.collection_background = None
self.exists = False
@ -774,7 +776,7 @@ class CollectionBuilder:
self.file_theme = os.path.abspath(method_data)
else:
logger.error(f"{self.Type} Error: Theme Path Does Not Exist: {os.path.abspath(method_data)}")
if method_name == "collection_mode":
elif method_name == "collection_mode":
self.details[method_name] = util.check_collection_mode(method_data)
elif method_name == "minimum_items":
self.minimum = util.parse(self.Type, method_name, method_data, datatype="int", minimum=1)