From 69b3fabba1a1e063f12cd4d28aee36af5dd689cc Mon Sep 17 00:00:00 2001 From: PhyberApex Date: Sun, 27 Oct 2019 02:02:34 +0200 Subject: [PATCH] Fix for #421 Missed giving the argument to actually be able to write the response. --- pwnagotchi/ui/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ui/web.py b/pwnagotchi/ui/web.py index 716a2c0..8376ce4 100644 --- a/pwnagotchi/ui/web.py +++ b/pwnagotchi/ui/web.py @@ -177,7 +177,7 @@ class Handler(BaseHTTPRequestHandler): groups = matches.groups() plugin_name = groups[0] right_path = groups[1] if len(groups) == 2 else None - plugins.one(plugin_name, 'webhook', right_path) + plugins.one(plugin_name, 'webhook', self, right_path) else: self.send_response(404)