mnemosyne changed version string in .db
This commit is contained in:
parent
bc90904acd
commit
1b646c1c8d
@ -18,7 +18,7 @@ class MnemosyneImporter(NoteImporter):
|
|||||||
db = DB(self.file)
|
db = DB(self.file)
|
||||||
ver = db.scalar(
|
ver = db.scalar(
|
||||||
"select value from global_variables where key='version'")
|
"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
|
# gather facts into temp objects
|
||||||
curid = None
|
curid = None
|
||||||
notes = {}
|
notes = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user