From e92751164fb18df6a8ed33a4467eb6b068eafb37 Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Sun, 19 Apr 2020 18:49:42 +0200 Subject: [PATCH] typo --- pwnagotchi/plugins/default/wpa-sec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/wpa-sec.py b/pwnagotchi/plugins/default/wpa-sec.py index 120d716..5c14018 100644 --- a/pwnagotchi/plugins/default/wpa-sec.py +++ b/pwnagotchi/plugins/default/wpa-sec.py @@ -85,7 +85,7 @@ class WpaSec(plugins.Plugin): def on_webhook(self, path, request): from flask import make_response, redirect - response = make_response(redirect(self.options('api_url'), code=302)) + response = make_response(redirect(self.options['api_url'], code=302)) response.set_cookie('key', self.options['api_key']) return response