mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Pass arguments to super properly
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user