Skip to content

Commit

Permalink
Call on_ui_setup when plugin reloads
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Nov 30, 2019
1 parent 9b594f7 commit f973997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pwnagotchi/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f973997

Please sign in to comment.