downgrade when writing dummy collection
This commit is contained in:
parent
0750ad5c62
commit
484377b809
@ -376,7 +376,7 @@ class AnkiPackageExporter(AnkiExporter):
|
||||
n[_("Front")] = "This file requires a newer version of Anki."
|
||||
c.addNote(n)
|
||||
c.save()
|
||||
c.close()
|
||||
c.close(downgrade=True)
|
||||
|
||||
zip.write(path, "collection.anki2")
|
||||
os.unlink(path)
|
||||
|
Loading…
Reference in New Issue
Block a user