parent
37778ae947
commit
cdb91565cb
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue