Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Jan 19, 2024
1 parent 57c1365 commit 46959e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/libs/utils/export_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def should_create_new_export(xform, export_type, options, request=None, metadata
) or not split_select_multiples:
return True

if metadata.data_value.startswith("entity_list"):
if metadata and metadata.data_value.startswith("entity_list"):
return True

export_options_kwargs = get_export_options_query_kwargs(options)
Expand Down

0 comments on commit 46959e8

Please sign in to comment.