diff --git a/src/calibre/db/backend.py b/src/calibre/db/backend.py index 34629752da..0eb4eb1aa0 100644 --- a/src/calibre/db/backend.py +++ b/src/calibre/db/backend.py @@ -988,7 +988,7 @@ class DB(object): uv = int(self.user_version) if sql is None: - from apsw_shell import Shell + from calibre.utils.apsw_shell import Shell callback(_('Dumping database to SQL') + '...') buf = StringIO() shell = Shell(db=self.conn, stdout=buf) diff --git a/src/apsw_shell.py b/src/calibre/utils/apsw_shell.py similarity index 100% rename from src/apsw_shell.py rename to src/calibre/utils/apsw_shell.py