fixed lat typo

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 955335cb3a
commit 04a361eef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,7 +121,7 @@ if ((latitude != 0) and (longitude != 0) or grid):
dquote = '\\"' dquote = '\\"'
receiver_gpsSedStr = 'sudo sed -i "s/receiver_gps =.*/receiver_gps = {' + dquote + 'lat' + dquote + ': ' + str(longitude) + ', ' + dquote + 'lon' + dquote + ': ' + str(longitude) + '}/g" /etc/openwebrx/config_webrx.py' receiver_gpsSedStr = 'sudo sed -i "s/receiver_gps =.*/receiver_gps = {' + dquote + 'lat' + dquote + ': ' + str(latitude) + ', ' + dquote + 'lon' + dquote + ': ' + str(longitude) + '}/g" /etc/openwebrx/config_webrx.py'
#print (longSedStr) #print (longSedStr)
system(receiver_gpsSedStr) system(receiver_gpsSedStr)

Loading…
Cancel
Save

Powered by TurnKey Linux.