mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-12 11:53:14 +02:00
enhance
This commit is contained in:
@@ -268,6 +268,7 @@ try:
|
||||
highfly_ignoreList = config['sentry'].get('highFlyingIgnoreList', '').split(',') # default empty
|
||||
highfly_check_openskynetwork = config['sentry'].getboolean('highflyOpenskynetwork', True) # default True check with OpenSkyNetwork if highfly detected
|
||||
detctionSensorAlert = config['sentry'].getboolean('detectionSensorAlert', False) # default False
|
||||
reqLocationEnabled = config['sentry'].getboolean('requestLocationData', False) # default False
|
||||
|
||||
# location
|
||||
location_enabled = config['location'].getboolean('enabled', True)
|
||||
|
||||
+1
-2
@@ -585,8 +585,7 @@ def get_closest_nodes(nodeInt=1,returnCount=3, channel=publicChannel):
|
||||
except Exception as e:
|
||||
pass
|
||||
else:
|
||||
# request location data
|
||||
reqLocationEnabled = False
|
||||
# request location data moved to .ini hidden under [sentry]
|
||||
if reqLocationEnabled:
|
||||
try:
|
||||
logger.debug(f"System: Requesting location data for {node['id']}, lastHeard: {node.get('lastHeard', 'N/A')}")
|
||||
|
||||
Reference in New Issue
Block a user