This commit is contained in:
thib8956 committed 2026-11-11 15:36:53 +01:00
1 parent 0232b9326d
commit 5c3fb89870
50 files changed
+97 -117

No files matched your search

+1 -3
View File
@@ -29,9 +29,7 @@ def check_passeport(passeport, run_validators=False):
]
for field, validator in fields:
value = passeport.get(field)
if value is None:
return False
elif run_validators and not validator(value):
if value is None or run_validators and not validator(value):
return False
return True