learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

updated format_presets.py #106

Closed abdelrahman725 closed 2 years ago

abdelrahman725 commented 2 years ago

MAX_CHOICE_LENGTH is good to use in case the choices of the format_presets change. For example here in preset_field we can calculate the max_length in an automatic and convenient way