Skip to content

Commit

Permalink
Fixes #832 - Make LogonDetails ignore any non-uk sector ESE files (#833)
Browse files Browse the repository at this point in the history
* ignore any ese not starting with UK

* add changelog

* Update CHANGELOG.md

---------

Co-authored-by: luke11brown <[email protected]>
  • Loading branch information
kristiankunc and luke11brown committed Aug 21, 2024
1 parent 633a9b3 commit 92a783f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changes from release 2024/08 to 2024/09
1. AIRAC (2409) - Connington (EGSF) Radio Frequency Updated - thanks to @kristiankunc (Kristián Kunc)
2. Bug - Added Added vFPC to Heathrow (EGLL) SMR and ATM lists - thanks to @kristiankunc (Kristián Kunc)
2. Bug - Added vFPC to Heathrow (EGLL) SMR and ATM lists - thanks to @kristiankunc (Kristián Kunc)
3. Bug - Fixed automatic logon details entry failing if non-uk sector file is present - thanks to @kristiankunc (Kristián Kunc)

# Changes from release 2024/07 to 2024/08
1. Enhancement - CPDLC Auto open settings window - thanks to @kye-taylor (Kye Taylor)
Expand Down
2 changes: 1 addition & 1 deletion UK/LogonDetails.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

# Adds Intials to ESE for use with alternate ownership

elif file.endswith(".ese"):
elif file.endswith(".ese") and file.startswith("UK"):
file_path = os.path.join(root, file)
with open(file_path, 'r') as f:
line = f.read()
Expand Down

0 comments on commit 92a783f

Please sign in to comment.