mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
use quick check instead of full integrity check on collection close
This commit is contained in:
parent
e8f4a75bd5
commit
1ca7fb4a80
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ close the profile or restart Anki."""
|
|||
try:
|
||||
self.maybeOptimize()
|
||||
if not devMode:
|
||||
corrupt = self.col.db.scalar("pragma integrity_check") != "ok"
|
||||
corrupt = self.col.db.scalar("pragma quick_check") != "ok"
|
||||
except:
|
||||
corrupt = True
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue