From dceb13c7205632348dc9bce5f1703cfe2b92bf5e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 24 Sep 2012 17:56:13 +0900 Subject: [PATCH] 'no problems found' still fixes problems --- aqt/importing.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/aqt/importing.py b/aqt/importing.py index a0e00d175..e0d48d70d 100644 --- a/aqt/importing.py +++ b/aqt/importing.py @@ -304,8 +304,11 @@ backup, please see the 'Backups' section of the user manual.""")) importer.run() except Exception, e: if "invalidFile" in unicode(e): - showWarning(_("""\ -Invalid file. Please run a DB check in Anki 1.2 and try again.""")) + msg = _("""\ +Invalid file. Please run a DB check in Anki 1.2 and try again.""") + msg += _(""" \ +Even if the DB check reports 'no problems found', a subsequent import should work.""") + showWarning(msg) elif "readonly" in unicode(e): showWarning(_("""\ Unable to import from a read-only file."""))