diff --git a/anki/deck.py b/anki/deck.py index d4c2cdcd6..24601c4bc 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -23,6 +23,7 @@ from anki.fonts import toPlatformFont import anki.features from operator import itemgetter from itertools import groupby +from anki.hooks import runHook # ensure all the metadata in other files is loaded before proceeding import anki.models, anki.facts, anki.cards, anki.stats