From de71d18a72c081bb2ee2e874824fad8c5a23643d Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Tue, 5 Nov 2019 14:52:54 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index e6c34a38..e0a69a4c 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -35,7 +35,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer): self._supported_channels = utils.iface_channels(config['main']['iface']) self._view = view self._view.set_agent(self) - self._web_ui = Server(self, self.config['ui']['display']) + self._web_ui = Server(self, self._config['ui']['display']) self._access_points = [] self._last_pwnd = None