From 1b646c1c8d7a789122253f660cd5e044527ced32 Mon Sep 17 00:00:00 2001 From: dae Date: Sun, 8 Jun 2014 14:37:15 +0900 Subject: [PATCH] mnemosyne changed version string in .db --- anki/importing/mnemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/importing/mnemo.py b/anki/importing/mnemo.py index 93baedd62..1d3284679 100644 --- a/anki/importing/mnemo.py +++ b/anki/importing/mnemo.py @@ -18,7 +18,7 @@ class MnemosyneImporter(NoteImporter): db = DB(self.file) ver = db.scalar( "select value from global_variables where key='version'") - assert ver.startswith('Mnemosyne SQL 1') + assert ver.startswith('Mnemosyne SQL 1') or ver == "2" # gather facts into temp objects curid = None notes = {}