mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Call on_ui_setup when plugin reloads
This commit is contained in:
@ -34,6 +34,7 @@ def toggle_plugin(name, enable=True):
|
||||
if enable and name in database and name not in loaded:
|
||||
load_from_file(database[name])
|
||||
one(name, 'loaded')
|
||||
one(name, 'ui_setup')
|
||||
return True
|
||||
|
||||
return False
|
||||
|
Reference in New Issue
Block a user