home · contact · privacy
Fix broken server __init__.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 17 Mar 2024 00:51:46 +0000 (01:51 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 17 Mar 2024 00:51:46 +0000 (01:51 +0100)
plomtask/http.py

index 3fde34b7b9f3ee99efa525a9532a81f4d4c95597..4ce72ec69e823f07f4ce718cd82aea66024f9c0d 100644 (file)
@@ -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))