Skip to content

Commit

Permalink
GUI Added
Browse files Browse the repository at this point in the history
  • Loading branch information
jj-sm committed Nov 18, 2024
1 parent e8fae02 commit 54949ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Scripts/NIC_Functions/Select_Out_NOTAMs.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def fetch_notams(lta_codes):
polygon = ""
resource_dir = os.path.join(os.path.dirname(__file__), '../Resources')
if location in AIRPORTS or location in CENTER:
if location in ['SKEC', 'SKED']:
if location in CENTER:
print(f"Fetching polygon for {location} from file.")
polygon = get_polygon_from_center_file(location, resource_dir)
else:
Expand Down
4 changes: 2 additions & 2 deletions Scripts/NIC_Functions/Update_Active_NOTAMs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import requests

# Your client ID and secret
CLIENT_ID = '7caab856-751b-40d7-ba13-e43da92c5003'
CLIENT_SECRET = 'X8NVLruCcNIIGXmFyqgzSwAMiZex3mof'
CLIENT_ID = 'xxx'
CLIENT_SECRET = 'xxx'

# The token endpoint for OAuth2 authentication
TOKEN_URL = 'https://api.ivao.aero/oauth/token'
Expand Down

0 comments on commit 54949ab

Please sign in to comment.