Closed kerrickstaley closed 4 years ago
Add a helper method to check that the number of fields in a Note matches the number of fields in its corresponding Model, and call it whenever we update .model or .fields on a Note, or when we call .write_to_db().
Helps with https://github.com/kerrickstaley/genanki/issues/50
Add a helper method to check that the number of fields in a Note matches the number of fields in its corresponding Model, and call it whenever we update .model or .fields on a Note, or when we call .write_to_db().
Helps with https://github.com/kerrickstaley/genanki/issues/50