Skip to content
Snippets Groups Projects
Commit e79262af authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Bugfix container.has-type rule for current data model

parent 443f560b
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ def eval_match(match_type, match_param, file_, container):
# Match the container having any file (including this one) with this type
elif match_type == 'container.has-type':
for c_file in container['files']:
if match_param in c_file['measurements']:
if match_param == c_file['type']:
return True
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment