Skip to content

Commit

Permalink
Update space.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SpudGunMan committed Dec 13, 2024
1 parent a9c2660 commit 82551e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def getNextSatellitePass(satellite, lat=0, lon=0):
# API URL
if n2yoAPIKey == '':
logger.error("System: Missing API key free at https://www.n2yo.com/login/")
return "not configured, bug your sysop"
url = visualPassAPI + str(satellite) + "/" + str(lat) + "/" + str(lon) + "/0/2/300/" + "&apiKey=" + n2yoAPIKey
# get the next pass data
next_pass_data = requests.get(url, timeout=urlTimeoutSeconds)
Expand Down

0 comments on commit 82551e0

Please sign in to comment.