Small changes

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2025-02-11 10:28:20 +01:00
parent 54986ef831
commit 40918029e7

View File

@ -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"]):