diff --git a/src/formpack/utils/flatten_content.py b/src/formpack/utils/flatten_content.py index ca6359e..c9a8d89 100644 --- a/src/formpack/utils/flatten_content.py +++ b/src/formpack/utils/flatten_content.py @@ -251,3 +251,6 @@ def _flatten_survey_row(row): row['type'] = '{} {} or_other'.format(_type, _list_name) else: row['type'] = '{} {}'.format(_type, _list_name) + elif row['type'] == 'select_one_from_file' and 'file' in row: + _file = row.pop('file') + row['type'] = '{} {}'.format(_type, _file)