diff --git a/VERSION b/VERSION index f88bd0f3..02844d1b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop71 +1.18.3-develop72 diff --git a/modules/meta.py b/modules/meta.py index 43377f61..4894e88c 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -950,6 +950,7 @@ class MetadataFile(DataFile): logger.debug(f"Addons: {addons}") logger.debug(f"Template: {template_names}") logger.debug(f"Other Template: {other_templates}") + logger.debug(f"Library Variables: {self.temp_vars}") logger.debug(f"Template Variables: {template_variables}") logger.debug(f"Remove Prefix: {remove_prefix}") logger.debug(f"Remove Suffix: {remove_suffix}") @@ -990,10 +991,8 @@ class MetadataFile(DataFile): used_keys.extend(key_value) og_call = {"value": key_value, auto_type: key_value, "key_name": key_name, "key": key} for k, v in template_variables.items(): - if k in self.temp_vars and key in self.temp_vars[k]: - og_call[k] = self.temp_vars[k][key] - elif k in self.temp_vars and "default" in self.temp_vars[k]: - og_call[k] = self.temp_vars[k]["default"] + if k in self.temp_vars: + og_call[k] = self.temp_vars[k] elif key in v: og_call[k] = v[key] elif "default" in v: