We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eadb3e7 commit 4b5b7e2Copy full SHA for 4b5b7e2
src/vorta/network_status/darwin.py
@@ -20,7 +20,7 @@ def get_current_wifi(self) -> Optional[str]:
20
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
21
out, err = process.communicate()
22
process.wait()
23
- for line in out.decode("utf-8").split('\n'):
+ for line in out.decode(errors='ignore').split('\n'):
24
split_line = line.strip().split(':')
25
if split_line[0] == 'SSID':
26
return split_line[1].strip()
0 commit comments