From 343ab9e8d49d1b78363e1b19399bd3006d179396 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 19 Sep 2021 22:51:08 -0400 Subject: [PATCH] added missing comma --- 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 21a2b249..d9fa11e2 100644 --- a/groundstation/loc-add-foxtelem.py +++ b/groundstation/loc-add-foxtelem.py @@ -122,7 +122,7 @@ if ((latitude != 0) and (longitude != 0) or grid): dquote = '\\"' # receiver_gpsSedStr = 'sudo sed -i "s/receiver_gps =.*/receiver_gps = {' + dquote + 'lat' + dquote + ': ' + str(latitude) + ', ' + dquote + 'lon' + dquote + ': ' + str(longitude) + '}/g" /var/lib/openwebrx/settings.json' - receiver_gpsSedStr = 'sudo sed -i "s/ ' + dquote + 'lat' + dquote + ': .*/ ' + dquote + 'lat' + dquote + ': ' + str(latitude) + '/g" /var/lib/openwebrx/settings.json' + receiver_gpsSedStr = 'sudo sed -i "s/ ' + dquote + 'lat' + dquote + ': .*/ ' + dquote + 'lat' + dquote + ': ' + str(latitude) + ',/g" /var/lib/openwebrx/settings.json' #print (receiver_gpsSedStr) system(receiver_gpsSedStr)