align_dmz: reconnait Exposition internet/Expo indirecte (SANEF)
This commit is contained in:
parent
4300eb1210
commit
90b03ec20b
@ -26,7 +26,12 @@ def is_dmz_value(v):
|
|||||||
if isinstance(v, bool):
|
if isinstance(v, bool):
|
||||||
return v
|
return v
|
||||||
s = str(v).strip().lower()
|
s = str(v).strip().lower()
|
||||||
return s in ("true", "vrai", "oui", "yes", "1", "dmz", "x")
|
if s in ("true", "vrai", "oui", "yes", "1", "dmz", "x"):
|
||||||
|
return True
|
||||||
|
# SANEF: 'Exposition internet', 'Exposition Internet', 'Expo indirecte'
|
||||||
|
if "exposition" in s or "expo indirecte" in s or "exposé" in s or "expose" in s:
|
||||||
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user