mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Small changes
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -161,7 +161,7 @@ class BTTether(plugins.Plugin):
|
|||||||
logging.error("[BT-Tether] Phone name not provided")
|
logging.error("[BT-Tether] Phone name not provided")
|
||||||
return
|
return
|
||||||
if not ("mac" in self.options and re.match(MAC_PTTRN, self.options["mac"])):
|
if not ("mac" in self.options and re.match(MAC_PTTRN, self.options["mac"])):
|
||||||
logging.error("[BT-Tether] Error with mac adresse")
|
logging.error("[BT-Tether] Error with mac address")
|
||||||
return
|
return
|
||||||
|
|
||||||
if not ("phone" in self.options and self.options["phone"].lower() in ["android", "ios"]):
|
if not ("phone" in self.options and self.options["phone"].lower() in ["android", "ios"]):
|
||||||
|
Reference in New Issue
Block a user