From 82551e0b4aeada62c24b66bed9fc14fc01e3fa74 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 12 Dec 2024 22:50:13 -0800 Subject: [PATCH] Update space.py --- modules/space.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/space.py b/modules/space.py index cd1b7f4..287b0e2 100644 --- a/modules/space.py +++ b/modules/space.py @@ -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)