Commit 8384e890 authored by Pierre Dittgen's avatar Pierre Dittgen

better msg for unsorted columns

parent 2b5cb918
......@@ -312,7 +312,7 @@ def compute_repair_actions(structure_errors):
def field_list_to_str(field_list):
return ', '.join(["**{}**".format(f) for f in field_list])
action_list.append("L'ordre des colonnes du fichier a été rétabli (de {} à {})".format(
action_list.append("L'ordre des colonnes du fichier a été rétabli\n- de : {}\n- à : {}\n".format(
field_list_to_str(actual_order), field_list_to_str(wanted_order)
))
pending_error_list = [err for err in pending_error_list if err not in wrong_headers_order]
......
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