mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Replace dict() with {...}
This commit is contained in:
parent
109c2e26b0
commit
e81c7abb40
1 changed files with 5 additions and 5 deletions
|
|
@ -112,9 +112,9 @@ class IndexView(BaseView):
|
|||
return await self.render(
|
||||
["index.html"],
|
||||
request=request,
|
||||
context=dict(
|
||||
databases=databases,
|
||||
metadata=self.ds.metadata(),
|
||||
datasette_version=__version__,
|
||||
),
|
||||
context={
|
||||
"databases": databases,
|
||||
"metadata": self.ds.metadata(),
|
||||
"datasette_version": __version__,
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue