Detect toyota connected car wifi as a hotspot and not a normal home wifi network.

old-commit-hash: c0a3e48d94
This commit is contained in:
Nick Brown
2019-06-02 00:18:00 -04:00
parent 383f79d4d7
commit f1e1b0a0ec
+3 -1
View File
@@ -86,7 +86,9 @@ def is_on_hotspot():
is_android = result.startswith('192.168.43.')
is_ios = result.startswith('172.20.10.')
return (is_android or is_ios)
is_entune = result.startswith('10.0.2.')
return (is_android or is_ios or is_entune)
except:
return False