Skip to content

Commit 399b718

Browse files
committed
apply suggested change
1 parent e8d2caf commit 399b718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cadastre/cadastre_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def get_available_majic_files(self) -> tuple[dict, dict]:
462462
maj_list.append(file_path)
463463

464464
# ignore PDF files
465-
if file_path.endswith(".pdf") or file_path.endswith(".PDF"):
465+
if file_path.endswith((".PDF",".pdf")):
466466
continue
467467

468468
# avoid topo, since direction is not used in TOPO

0 commit comments

Comments
 (0)