mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
calibredb check_library: Vacuum database when runnning the check
This commit is contained in:
parent
84f7464be5
commit
3d63a57ff4
@ -1369,6 +1369,8 @@ def command_check_library(args, dbpath):
|
||||
raise SystemExit(1)
|
||||
|
||||
db = LibraryDatabase(dbpath)
|
||||
print _('Vacuuming database...')
|
||||
db.new_api.vacuum()
|
||||
checker = CheckLibrary(dbpath, db)
|
||||
checker.scan_library(names, exts)
|
||||
for check in checks:
|
||||
|
Loading…
x
Reference in New Issue
Block a user