catch CalledProcessError in uploader wifi check

old-commit-hash: 6adbe24d4c
commatwo_master
Willem Melching 6 years ago
parent 6437ccb26c
commit 26d634d6c0
  1. 2
      selfdrive/loggerd/uploader.py

@ -71,7 +71,7 @@ def is_on_wifi():
if result is None: if result is None:
return True return True
return 'WIFI' in result return 'WIFI' in result
except AttributeError: except (AttributeError, subprocess.CalledProcessError):
return False return False
def is_on_hotspot(): def is_on_hotspot():

Loading…
Cancel
Save