mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
post export hook for apkg
This commit is contained in:
parent
4ff3a9969b
commit
b74f773d46
1 changed files with 6 additions and 0 deletions
|
@ -198,8 +198,14 @@ class AnkiExporter(Exporter):
|
|||
# todo: tags?
|
||||
self.count = self.dst.cardCount()
|
||||
self.dst.setMod()
|
||||
self.postExport()
|
||||
self.dst.close()
|
||||
|
||||
def postExport(self):
|
||||
# overwrite to apply customizations to the deck before it's closed,
|
||||
# such as update the deck description
|
||||
pass
|
||||
|
||||
# Packaged Anki decks
|
||||
######################################################################
|
||||
|
||||
|
|
Loading…
Reference in a new issue