From 40ab11eadf218027cdbed3d4b89e495d1cb24315 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 21 Jul 2025 15:29:12 -0500 Subject: [PATCH] fix handling of single value text response --- adafruit_portalbase/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_portalbase/network.py b/adafruit_portalbase/network.py index d183bf8..a270862 100755 --- a/adafruit_portalbase/network.py +++ b/adafruit_portalbase/network.py @@ -698,7 +698,7 @@ def process_text(text, regexp_path): for regexp in regexp_path: values.append(re.search(regexp, text).group(1)) else: - values = text + values.append(text) return values def process_json(self, json_data, json_path):