From 1093cea3d68a9cc63c09b93dcfa88a21a2695892 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 19 Sep 2021 23:02:37 -0400 Subject: [PATCH] added quotes around location --- groundstation/loc-add-foxtelem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundstation/loc-add-foxtelem.py b/groundstation/loc-add-foxtelem.py index bd00c1b0..c4dd4661 100644 --- a/groundstation/loc-add-foxtelem.py +++ b/groundstation/loc-add-foxtelem.py @@ -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)