mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Update mapfile_validators.py (#3136)
This commit is contained in:
@@ -5,7 +5,4 @@ class Component(Validator):
|
||||
tag = "comp"
|
||||
|
||||
def _is_valid(self, value):
|
||||
data = yaml.safe_load(value)
|
||||
if data["type"]:
|
||||
return True
|
||||
return False
|
||||
return 'type' in value
|
||||
|
||||
Reference in New Issue
Block a user