From: Christian Heller Date: Sun, 17 Mar 2024 00:51:46 +0000 (+0100) Subject: Fix broken server __init__. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/condition?a=commitdiff_plain;h=ee501dc4d2b67747e2bfb626bfa65f44ad237f61;p=plomtask Fix broken server __init__. --- diff --git a/plomtask/http.py b/plomtask/http.py index 3fde34b..4ce72ec 100644 --- a/plomtask/http.py +++ b/plomtask/http.py @@ -14,7 +14,7 @@ class TaskServer(HTTPServer): """Variant of HTTPServer that knows .jinja as Jinja Environment.""" def __init__(self, *args, **kwargs): - super().__init__(self, *args, **kwargs) + x = super().__init__(*args, **kwargs) self.jinja = JinjaEnv(loader=JinjaFSLoader(TEMPLATES_DIR))