test decode
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ def get_assigned_params():
|
|||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
def is_connected_to_wifi():
|
def is_connected_to_wifi():
|
||||||
output = subprocess.check_output(['iwgetid'])
|
output = subprocess.check_output(['iwgetid']).decode()
|
||||||
print(output)
|
print(output)
|
||||||
return output.split('"')[1]
|
return output.split('"')[1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user