Skip to content

Commit d3188a6

Browse files
committed
Ran black
1 parent e0ec8f0 commit d3188a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

django_sql_dashboard/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ def _dashboard_index(
341341
},
342342
json_dumps_params={
343343
"indent": 2,
344-
"default": lambda o: o.isoformat()
345-
if hasattr(o, "isoformat")
346-
else str(o),
344+
"default": lambda o: (
345+
o.isoformat() if hasattr(o, "isoformat") else str(o)
346+
),
347347
},
348348
)
349349

0 commit comments

Comments
 (0)