mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't indiscriminately modSchema on db check
This commit is contained in:
parent
caa4ee685a
commit
e9b24f9f3e
1 changed files with 2 additions and 2 deletions
|
@ -704,8 +704,8 @@ and queue = 0""", intTime(), self.usn())
|
|||
ok = not problems
|
||||
problems.append(txt)
|
||||
# if any problems were found, force a full sync
|
||||
if problems:
|
||||
self.modSchema()
|
||||
if not ok:
|
||||
self.modSchema(check=False)
|
||||
self.save()
|
||||
return ("\n".join(problems), ok)
|
||||
|
||||
|
|
Loading…
Reference in a new issue