From 6875d954757ff06525387cfe136a73aa225afbbc Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Sun, 25 Apr 2021 14:17:59 -0700 Subject: [PATCH] fix incorrect line of code --- full_bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/full_bridge.py b/full_bridge.py index e50b0ae..2a31d9b 100644 --- a/full_bridge.py +++ b/full_bridge.py @@ -170,7 +170,7 @@ def aprs_send(packet): logger.info('Packet sent to APRS-IS.') def dashboard_loc_write(call, lat, lon, time, comment): - dash_entries = ast.literal_eval(os.popen('cat /tmp/gps_data_user_loc.txt').read()) + dash_entries = ast.literal_eval(os.popen('cat ' + loc_file).read()) dash_entries.insert(0, {'call': call, 'lat': lat, 'lon': lon, 'time':time, 'comment':comment}) # Clear old entries list_index = 0