Skip to content

Commit c0908d0

Browse files
committed
add ctl extension
1 parent ea691fd commit c0908d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lambdas/filenameprocessor/src/file_validation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def validate_extended_attributes_file_key(file_key: str) -> str:
6060
and version == VALID_EA_VERSIONS
6161
and supplier # Note that if supplier could be identified, this also implies that ODS code is valid
6262
and is_valid_datetime(timestamp)
63-
and ((extension == "CSV") or (extension == "DAT")) # The DAT extension has been added for MESH file processing
63+
and (
64+
(extension == "CSV") or (extension == "DAT") or (extension == "CTL")
65+
) # The DAT extension has been added for MESH file processing
6466
):
6567
raise InvalidFileKeyError("Initial file validation failed: invalid file key")
6668

0 commit comments

Comments
 (0)