From 029be55cc0a64c0258032acb3e670c628a0a059e Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 22 Jan 2024 14:59:53 -0500 Subject: [PATCH] mucha: fix handlers --- core/mucha.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/mucha.py b/core/mucha.py index 1cd39d1..0559983 100644 --- a/core/mucha.py +++ b/core/mucha.py @@ -47,7 +47,7 @@ class MuchaServlet: self.logger.info(f"Serving {len(self.mucha_registry)} games") - def handle_boardauth(self, request: Request, _: Dict) -> bytes: + def handle_boardauth(self, request: Request) -> bytes: req_dict = self.mucha_preprocess(request.content.getvalue()) client_ip = Utils.get_ip_addr(request) @@ -82,7 +82,7 @@ class MuchaServlet: return self.mucha_postprocess(vars(resp)) - def handle_updatecheck(self, request: Request, _: Dict) -> bytes: + def handle_updatecheck(self, request: Request) -> bytes: req_dict = self.mucha_preprocess(request.content.getvalue()) client_ip = Utils.get_ip_addr(request) @@ -106,7 +106,7 @@ class MuchaServlet: return self.mucha_postprocess(vars(resp)) - def handle_dlstate(self, request: Request, _: Dict) -> bytes: + def handle_dlstate(self, request: Request) -> bytes: req_dict = self.mucha_preprocess(request.content.getvalue()) client_ip = Utils.get_ip_addr(request)