mirror of https://github.com/CIRCL/AIL-framework
fix: [domain search] fix template domain types filter
parent
a30cc1539d
commit
19f154a81a
|
@ -467,7 +467,7 @@ def sanitize_domains_types(types):
|
||||||
types_domains = []
|
types_domains = []
|
||||||
for type_d in types:
|
for type_d in types:
|
||||||
if type_d in domains_types:
|
if type_d in domains_types:
|
||||||
domains_types.append(type_d)
|
types_domains.append(type_d)
|
||||||
if not types_domains:
|
if not types_domains:
|
||||||
return domains_types
|
return domains_types
|
||||||
return types_domains
|
return types_domains
|
||||||
|
|
Loading…
Reference in New Issue