mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
downgrade when writing dummy collection
This commit is contained in:
parent
0750ad5c62
commit
484377b809
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class AnkiPackageExporter(AnkiExporter):
|
||||||
n[_("Front")] = "This file requires a newer version of Anki."
|
n[_("Front")] = "This file requires a newer version of Anki."
|
||||||
c.addNote(n)
|
c.addNote(n)
|
||||||
c.save()
|
c.save()
|
||||||
c.close()
|
c.close(downgrade=True)
|
||||||
|
|
||||||
zip.write(path, "collection.anki2")
|
zip.write(path, "collection.anki2")
|
||||||
os.unlink(path)
|
os.unlink(path)
|
||||||
|
|
Loading…
Reference in a new issue