diff --git a/src/calibre/devices/kobo/db.py b/src/calibre/devices/kobo/db.py index 7e3158d548..8d68bc701c 100644 --- a/src/calibre/devices/kobo/db.py +++ b/src/calibre/devices/kobo/db.py @@ -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()