mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Raise error if it's not about loops, refs #1802
This commit is contained in:
parent
c9d1943aed
commit
d80775a48d
1 changed files with 2 additions and 0 deletions
|
|
@ -240,6 +240,8 @@ class Datasette:
|
|||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
self._refresh_schemas_lock = asyncio.Lock()
|
||||
else:
|
||||
raise
|
||||
self.crossdb = crossdb
|
||||
self.nolock = nolock
|
||||
if memory or crossdb or not self.files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue