Another wpa-sec fix

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2025-01-02 22:30:04 +01:00
parent b2175cbcc4
commit af4e4d9a35

View File

@ -161,8 +161,7 @@ class WpaSec(plugins.Plugin):
def on_unload(self, ui):
with ui._lock:
ui.remove_element('ssid')
ui.remove_element('password')
ui.remove_element('pass')
def on_ui_update(self, ui):
if 'show_pwd' in self.options and self.options['show_pwd'] and 'download_results' in self.options and self.options['download_results']: