diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index e6c34a3..e0a69a4 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