mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 08:52:05 +08:00
Merge pull request #679 from njbrown09/entunehotspot
Add Toyota Entune Wifi hotspot to hotspot check.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user