Update locationdata.py

This commit is contained in:
SpudGunMan
2024-08-18 01:41:17 -07:00
parent 1ec6cefc16
commit 8e34925af7
+1 -1
View File
@@ -15,7 +15,7 @@ def where_am_i(lat=0, lon=0):
whereIam = ""
grid = mh.to_maiden(float(lat), float(lon))
if float(lat) == 0 and float(lon) == 0:
if int(lat) == 0 and int(lon) == 0:
logger.error("Location: No GPS data, try sending location")
return NO_DATA_NOGPS