kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Handle Almanac download error correctly
rodzic
7df232c62f
commit
0446a6b374
|
@ -17,7 +17,7 @@ except ImportError:
|
|||
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
|
||||
# PATCH - Small changes, or minor feature additions.
|
||||
|
||||
__version__ = "1.5.4-beta2"
|
||||
__version__ = "1.5.4-beta3"
|
||||
|
||||
|
||||
# Global Variables
|
||||
|
|
|
@ -78,7 +78,7 @@ def get_almanac(destination="almanac.txt", timeout=20):
|
|||
logging.error("GPS Grabber - Downloaded file is not a GPS almanac.")
|
||||
return None
|
||||
except Exception as e:
|
||||
logging.error("GPS Grabber - Failed to download almanac data - " % str(e))
|
||||
logging.error(f"GPS Grabber - Failed to download almanac data - {str(e)}")
|
||||
return None
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue