It’s a bug. I sent a fix:
Note that you’ll need to add this before .run() for the code to work:
from anki.lang import set_lang
set_lang("en_US")
But I recommend using the new importing API instead. See an example here:
It’s a bug. I sent a fix:
Note that you’ll need to add this before .run() for the code to work:
from anki.lang import set_lang
set_lang("en_US")
But I recommend using the new importing API instead. See an example here: