mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix media sanity fail being identified as normal sanity error
This commit is contained in:
parent
6c97ab3508
commit
073f129ab8
2 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class Syncer(object):
|
|||
self.col.rollback()
|
||||
self.col.modSchema()
|
||||
self.col.save()
|
||||
raise Exception("sanity check failed")
|
||||
raise Exception("collection sanity check failed")
|
||||
# finalize
|
||||
runHook("sync", "finalize")
|
||||
mod = self.server.finish()
|
||||
|
|
|
@ -134,7 +134,7 @@ AnkiWeb is too busy at the moment. Please try again in a few minutes.""")
|
|||
"Antivirus or firewall software is preventing Anki from connecting to the internet.")
|
||||
elif "407" in err:
|
||||
return _("Proxy authentication required.")
|
||||
elif "sanity check failed" in err:
|
||||
elif "collection sanity check failed" in err:
|
||||
return _("After syncing, the collection was in an inconsistent \
|
||||
state. To fix this problem, Anki will force a full sync. Please sync again, and \
|
||||
choose which side you would like to keep.")
|
||||
|
|
Loading…
Reference in a new issue