We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d3dcd commit 234baa4Copy full SHA for 234baa4
startup_scripts/020_custom_fields.py
@@ -45,7 +45,7 @@ def get_class_for_class_path(class_path):
45
if cf_details.get('choices', False):
46
custom_field.choices = []
47
48
- for _, choice_detail in enumerate(cf_details.get('choices', [])):
+ for choice_detail in enumerate(cf_details.get('choices', [])):
49
if isinstance(choice_detail, str):
50
custom_field.choices.append(choice_detail)
51
else: # legacy mode
0 commit comments