added openwebrx lat/long setting test

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 5aa80c8ce8
commit aa7d6cb90f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -117,7 +117,14 @@ if ((latitude != 0) and (longitude != 0) or grid):
#print (longSedStr)
system(longSedStr)
print("\nKLAtracker configuration updated with your latitude and longitude")
print("\nKLAtracker configuration updated with your latitude and longitude")
receiver_gpsSedStr = 'sed -i "s/receiver_gps =.*/receiver_gps = {\"lat\": ' + str(longitude) + ', \"lon\": ' + str(longitude) + '}/g" /home/pi/config_webrx.py'
#print (longSedStr)
system(receiver_gpsSedStr)
print("\nOpenWebRX configuration updated with your latitude and longitude")
return_value = 1

Loading…
Cancel
Save

Powered by TurnKey Linux.