added quotes around location

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent 2434daf7a1
commit 1093cea3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,7 +129,7 @@ if ((latitude != 0) and (longitude != 0) or grid):
#print (receiver_gpsSedStr)
system(receiver_gpsSedStr)
nameSedStr = 'sudo sed -i "s/ ' + dquote + 'receiver_location' + dquote + ': .*/ ' + dquote + 'receiver_location' + dquote + ': ' + location + ',/g" /var/lib/openwebrx/settings.json'
nameSedStr = 'sudo sed -i "s/ ' + dquote + 'receiver_location' + dquote + ': .*/ ' + dquote + 'receiver_location' + dquote + ': ' + dquote + location + dquote + ',/g" /var/lib/openwebrx/settings.json'
#print (nameSedStr)
system(nameSedStr)

Loading…
Cancel
Save

Powered by TurnKey Linux.