Skip to content
Prev Previous commit
Next Next commit
black format
  • Loading branch information
Archmonger committed Sep 7, 2021
commit bbf3948d696f505ee459ee29f17c16151bc35197
4 changes: 2 additions & 2 deletions src/django_idom/templatetags/idom.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def idom_component(_component_id_, **kwargs):
_register_component(_component_id_)

class_ = kwargs.pop("class","")
class_ = kwargs.pop("class", "")
json_kwargs = json.dumps(kwargs, separators=(",", ":"))

return {
Expand All @@ -29,7 +29,7 @@ def idom_component(_component_id_, **kwargs):
"idom_web_modules_url": IDOM_WEB_MODULES_URL,
"idom_mount_uuid": uuid4().hex,
"idom_component_id": _component_id_,
"idom_component_params": urlencode({"kwargs": json_kwargs})
"idom_component_params": urlencode({"kwargs": json_kwargs}),
}


Expand Down