added \\ to quote

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

@ -119,7 +119,7 @@ if ((latitude != 0) and (longitude != 0) or grid):
print("\nKLAtracker configuration updated with your latitude and longitude")
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'
#print (longSedStr)

Loading…
Cancel
Save

Powered by TurnKey Linux.