mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Undid some slightly weird code formatting by 'black'
This commit is contained in:
parent
63aac537f2
commit
8a0bd68c39
1 changed files with 2 additions and 10 deletions
|
|
@ -200,11 +200,7 @@ class TableView(RowTableShared):
|
|||
"SELECT count(*) from sqlite_master WHERE type = 'view' and name=:n",
|
||||
{"n": table},
|
||||
)
|
||||
)[
|
||||
0
|
||||
][
|
||||
0
|
||||
]
|
||||
)[0][0]
|
||||
)
|
||||
view_definition = None
|
||||
table_definition = None
|
||||
|
|
@ -215,11 +211,7 @@ class TableView(RowTableShared):
|
|||
'select sql from sqlite_master where name = :n and type="view"',
|
||||
{"n": table},
|
||||
)
|
||||
)[
|
||||
0
|
||||
][
|
||||
0
|
||||
]
|
||||
)[0][0]
|
||||
else:
|
||||
table_definition_rows = list(
|
||||
await self.execute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue