From d434bf084d95e76c90b45bd51a3a145abdcbc46b Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Sun, 19 Feb 2023 00:06:21 -0500 Subject: [PATCH] fix sending incorrect params to dict_to_http_form_string --- core/allnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/allnet.py b/core/allnet.py index 9aea93e..08f636a 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -167,10 +167,10 @@ class AllnetServlet: resp = AllnetDownloadOrderResponse() if not self.config.allnet.allow_online_updates: - return self.dict_to_http_form_string(vars(resp)) + return self.dict_to_http_form_string([vars(resp)]) else: # TODO: Actual dlorder response - return self.dict_to_http_form_string(vars(resp)) + return self.dict_to_http_form_string([vars(resp)]) def handle_billing_request(self, request: Request, _: Dict): req_dict = self.billing_req_to_dict(request.content.getvalue())