Pass arguments to super properly

This commit is contained in:
Scoder12
2020-07-28 12:42:33 -07:00
parent 29e1b71e61
commit df795e35c9
+1 -1
View File
@@ -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):