mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Remove on_ready code, not actually being run.
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -37,11 +37,6 @@ class BTTether(plugins.Plugin):
|
||||
self.ready = True
|
||||
|
||||
def on_ready(self, agent):
|
||||
try:
|
||||
mac = self.options['mac']
|
||||
subprocess.run(['nmcli', 'device', 'connect', f'{mac}'], check=True)
|
||||
except Exception as e:
|
||||
logging.error(f"[BT-Tether] Failed to connect to device: {e}")
|
||||
self.ready = True
|
||||
|
||||
def on_ui_setup(self, ui):
|
||||
|
Reference in New Issue
Block a user