diff --git a/pylib/anki/models.py b/pylib/anki/models.py index 09035b30a..b2a9c28dc 100644 --- a/pylib/anki/models.py +++ b/pylib/anki/models.py @@ -389,8 +389,8 @@ and notes.mid = ? and cards.ord = ?""", To get defaults, use - input = ChangeNotetypeRequest() - input.ParseFromString(col.models.change_notetype_info(...)) + info = col.models.change_notetype_info(...) + input = info.input input.note_ids.extend([...]) The new_fields and new_templates lists are relative to the new notetype's