Skip to content

Commit

Permalink
Update auto_airac_actions.py
Browse files Browse the repository at this point in the history
Ignore sector files that don't start with UK_
  • Loading branch information
luke11brown authored Oct 4, 2024
1 parent 7b20b02 commit d85e146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/airac/auto_airac_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def get_sector_file() -> str:
sector_fn = []
for root, dirs, files in os.walk(self.ukcp_location):
for file_name in files:
if file_name.endswith(".sct"):
if file_name.endswith(".sct") and file_name.startswith("UK_"):
sector_file.append(os.path.join(root, file_name))
sector_fn.append(file_name)

Expand Down

0 comments on commit d85e146

Please sign in to comment.