kaegi / MorphMan

Anki plugin that reorders language cards based on the words you know
Other
262 stars 66 forks source link

TypeError: list indices must be integers or slices, not strings #147

Open ghost opened 4 years ago

ghost commented 4 years ago

Getting this error when doing recalc running Linux. I don't use the frequency list. Only japanese support addon.

Caught exception: Traceback (most recent call last): File "/home/yaoberh/.local/share/Anki2/addons21/900801631/init.py", line 14, in onMorphManRecalc main.main() File "/home/yaoberh/.local/share/Anki2/addons21/900801631/morph/main.py", line 447, in main knownDb = updateNotes(allDb) File "/home/yaoberh/.local/share/Anki2/addons21/900801631/morph/main.py", line 289, in updateNotes focusMorphIndex = frequency_list[focusMorphString] TypeError: list indices must be integers or slices, not str

SaraSmiseth commented 4 years ago

The same as #123. PR #125 will fix it.