From df795e35c9b034b01db2eaa0c6d819156fc4b109 Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:42:33 -0700 Subject: [PATCH] Pass arguments to super properly --- src/replit/maqpy/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replit/maqpy/html.py b/src/replit/maqpy/html.py index b32fed3..8796e83 100644 --- a/src/replit/maqpy/html.py +++ b/src/replit/maqpy/html.py @@ -54,7 +54,7 @@ class Link(HTMLElement): href (str): The href attribute, where the link points to. attrs (str): Any additional attributes of the tag. """ - super().__init__(self, content, {"href": href, **attrs}) + super().__init__(content, **{"href": href, **attrs}) class Page(flask.Response):