From e9b24f9f3efa146a569070253290bd51d4ce3a37 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 28 Dec 2012 17:23:03 +0900 Subject: [PATCH] don't indiscriminately modSchema on db check --- anki/collection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anki/collection.py b/anki/collection.py index d0edcdfe5..da0fd0e08 100644 --- a/anki/collection.py +++ b/anki/collection.py @@ -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)