Skip to content

Commit

Permalink
Fix optionset import
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Oct 6, 2020
1 parent 34bebfa commit c1f90ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmo/options/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def import_optionset(element, save=False):
set_common_fields(optionset, element)

optionset.order = element.get('order')
optionset.provider_key = element.get('provider_key')
optionset.provider_key = element.get('provider_key', '')

conditions = get_m2m_instances(optionset, element.get('conditions'), Condition)

Expand Down

0 comments on commit c1f90ac

Please sign in to comment.