From c93c53f6fea12c805e681dc46742385d65c6533f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 12 Mar 2022 23:05:36 -0500 Subject: [PATCH] added .text --- groundstation/tago-upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/tago-upload.py b/groundstation/tago-upload.py index afff9cbe..44300c0f 100644 --- a/groundstation/tago-upload.py +++ b/groundstation/tago-upload.py @@ -9,9 +9,9 @@ while (True): telem_string = requests.get('https://api.aprs.fi/api/get?name=W3YP-11&what=loc&apikey=APIKEY&format=json') - print(telem_string) + print(telem_string.text) - chunks = telem_string.split(' ') + chunks = telem_string.text.split(' ') #printchunks = str.split(' ')