mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -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
|
ok = not problems
|
||||||
problems.append(txt)
|
problems.append(txt)
|
||||||
# if any problems were found, force a full sync
|
# if any problems were found, force a full sync
|
||||||
if problems:
|
if not ok:
|
||||||
self.modSchema()
|
self.modSchema(check=False)
|
||||||
self.save()
|
self.save()
|
||||||
return ("\n".join(problems), ok)
|
return ("\n".join(problems), ok)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue