From b74f773d46b83866711ac6a92337acacc194f3d0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 3 Aug 2012 20:29:59 +0900 Subject: [PATCH] post export hook for apkg --- anki/exporting.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/anki/exporting.py b/anki/exporting.py index 028bbfbde..a24eaa3fa 100644 --- a/anki/exporting.py +++ b/anki/exporting.py @@ -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 ######################################################################