From cdb91565cb5c5abc55913a5cc32f30d3d39aa50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 00:48:09 +0100 Subject: [PATCH] test decode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.py b/client/main.py index b20fc70..250a3e0 100644 --- a/client/main.py +++ b/client/main.py @@ -52,7 +52,7 @@ def get_assigned_params(): return None, None def is_connected_to_wifi(): - output = subprocess.check_output(['iwgetid']) + output = subprocess.check_output(['iwgetid']).decode() print(output) return output.split('"')[1]