Commit fe40a3f3 authored by Pierre Dittgen's avatar Pierre Dittgen

Fix message

parent 45bf3bc9
......@@ -224,7 +224,7 @@ def create_validata_ui_report(validata_core_report, schema_dict):
# Computes column info
fields_dict = {f['name']: (f.get('title', f['name']), f.get('description', ''))
for f in schema_dict.get('fields', [])}
report['table']['headers_title'] = [fields_dict[h][0] if h in fields_dict else 'colonne inconnue' for h in headers]
report['table']['headers_title'] = [fields_dict[h][0] if h in fields_dict else 'Colonne inconnue' for h in headers]
report['table']['headers_description'] = [fields_dict[h][1]
if h in fields_dict else 'Cette colonne n\'est pas définie dans le schema' for h in headers]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment