mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
mnemosyne changed version string in .db
This commit is contained in:
parent
bc90904acd
commit
1b646c1c8d
1 changed files with 1 additions and 1 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue