mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
Revert "include info about whether it was a full export"
This reverts commit 63ec4983a4
.
This commit is contained in:
parent
958967f3c3
commit
045d5d68cd
1 changed files with 0 additions and 2 deletions
|
@ -246,7 +246,6 @@ class AnkiPackageExporter(AnkiExporter):
|
||||||
colfile = path.replace(".apkg", ".anki2")
|
colfile = path.replace(".apkg", ".anki2")
|
||||||
AnkiExporter.exportInto(self, colfile)
|
AnkiExporter.exportInto(self, colfile)
|
||||||
z.write(colfile, "collection.anki2")
|
z.write(colfile, "collection.anki2")
|
||||||
z.writestr("meta", json.dumps(dict(full=False)))
|
|
||||||
# and media
|
# and media
|
||||||
self.prepareMedia()
|
self.prepareMedia()
|
||||||
media = {}
|
media = {}
|
||||||
|
@ -267,7 +266,6 @@ class AnkiPackageExporter(AnkiExporter):
|
||||||
self.count = self.col.cardCount()
|
self.count = self.col.cardCount()
|
||||||
self.col.close()
|
self.col.close()
|
||||||
z.write(self.col.path, "collection.anki2")
|
z.write(self.col.path, "collection.anki2")
|
||||||
z.writestr("meta", json.dumps(dict(full=True)))
|
|
||||||
self.col.reopen()
|
self.col.reopen()
|
||||||
# copy all media
|
# copy all media
|
||||||
if not self.includeMedia:
|
if not self.includeMedia:
|
||||||
|
|
Loading…
Reference in a new issue