|
|
|
@ -906,7 +906,7 @@ class MetadataFile(DataFile):
|
|
|
|
|
for template_name in template_names:
|
|
|
|
|
if template_name not in self.templates:
|
|
|
|
|
raise Failed(f"Config Error: {map_name} template: {template_name} not found")
|
|
|
|
|
if any([a in str(self.templates[template_name][0]) for a in ["<<value>>", "<<key>>", f"<<{auto_type}>>"]]):
|
|
|
|
|
if any([a in str(self.templates[template_name][0]) for a in ["<<value", "<<key", f"<<{auto_type}"]]):
|
|
|
|
|
has_var = True
|
|
|
|
|
if not has_var:
|
|
|
|
|
raise Failed(f"Config Error: One {map_name} template: {template_names} is required to have the template variable <<value>>")
|
|
|
|
|