fix normalization in normal import
This commit is contained in:
parent
fad6b244cd
commit
d0a9a87095
@ -25,7 +25,7 @@ class AnkiPackageImporter(Anki2Importer):
|
||||
if os.path.commonprefix([path, dir]) != dir:
|
||||
raise Exception("Invalid file")
|
||||
|
||||
self.nameToNum[v] = unicodedata.normalize("NFC", k)
|
||||
self.nameToNum[unicodedata.normalize("NFC",v)] = k
|
||||
# run anki2 importer
|
||||
Anki2Importer.run(self)
|
||||
# import static media
|
||||
|
Loading…
Reference in New Issue
Block a user