Verified Commit 8d84dbcb authored by Clayton Craft's avatar Clayton Craft
Browse files

stm_agps/load: check for existence of all agps files

parent c3a45902
...@@ -129,7 +129,7 @@ class STM_AGPS: ...@@ -129,7 +129,7 @@ class STM_AGPS:
ephemeris_path = os.path.join(dir, 'ephemeris.txt') ephemeris_path = os.path.join(dir, 'ephemeris.txt')
for file in [almanac_path, ephemeris_path]: for file in [almanac_path, ephemeris_path]:
if not os.path.exists(almanac_path): if not os.path.exists(file):
self.__log.warn(f"AGPS file not found: {file}") self.__log.warn(f"AGPS file not found: {file}")
self.__log.warn("*NOT* loading AGPS data") self.__log.warn("*NOT* loading AGPS data")
return return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment