From 60d9fd46ae7cce509ee54f5238b6da60e6b5916c Mon Sep 17 00:00:00 2001 From: Simone Margaritelli <evilsocket@gmail.com> Date: Tue, 5 Nov 2019 14:57:22 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/ui/web/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ui/web/server.py b/pwnagotchi/ui/web/server.py index 7a54f2e..c7f1df6 100644 --- a/pwnagotchi/ui/web/server.py +++ b/pwnagotchi/ui/web/server.py @@ -36,7 +36,7 @@ class Server: CORS(app, resources={r"*": {"origins": self._origin}}) CSRFProtect(app) - Handler(agent, app) + Handler(self._agent, app) app.run(host=self._address, port=self._port, debug=False) else: