mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update for bookworm release
This commit is contained in:
@ -515,7 +515,6 @@ class BTTether(plugins.Plugin):
|
|||||||
else:
|
else:
|
||||||
logging.debug('BT-TETHER: Already paired.')
|
logging.debug('BT-TETHER: Already paired.')
|
||||||
|
|
||||||
|
|
||||||
logging.debug('BT-TETHER: Try to create nap connection with %s ...', device.name)
|
logging.debug('BT-TETHER: Try to create nap connection with %s ...', device.name)
|
||||||
device.network, success = BTNap.nap(dev_remote)
|
device.network, success = BTNap.nap(dev_remote)
|
||||||
interface = None
|
interface = None
|
||||||
@ -579,7 +578,7 @@ class BTTether(plugins.Plugin):
|
|||||||
def on_ui_setup(self, ui):
|
def on_ui_setup(self, ui):
|
||||||
with ui._lock:
|
with ui._lock:
|
||||||
ui.add_element('bluetooth', LabeledValue(color=BLACK, label='BT', value='-',
|
ui.add_element('bluetooth', LabeledValue(color=BLACK, label='BT', value='-',
|
||||||
position=(ui.width() / 2 - 5, 0),
|
position=(ui.width() / 2 - 10, 0),
|
||||||
label_font=fonts.Bold, text_font=fonts.Medium))
|
label_font=fonts.Bold, text_font=fonts.Medium))
|
||||||
|
|
||||||
def on_ui_update(self, ui):
|
def on_ui_update(self, ui):
|
||||||
|
Reference in New Issue
Block a user