mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
3bbbe6257b
commit
4c47f44c43
@ -43,8 +43,6 @@ class Database:
|
||||
self.path_on_device = self.dbpath = path_on_device
|
||||
self.dbversion = 0
|
||||
def connect(path: str = path_on_device) -> None:
|
||||
if path == path_on_device:
|
||||
raise apsw.IOError('xxx')
|
||||
with closing(apsw.Connection(path)) as conn:
|
||||
conn.setrowtrace(row_factory)
|
||||
cursor = conn.cursor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user