diff --git a/tournaments/views.py b/tournaments/views.py index 96bb3b7..2673c37 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -336,7 +336,7 @@ def xls_to_csv(request): data_xls = pd.read_excel(file_name, 'Joueurs', index_col=None) csv_file_name = create_random_filename('players', 'csv') output_path = os.path.join(directory, csv_file_name) - data_xls.to_csv(output_path, encoding='utf-8') + data_xls.to_csv(output_path, sep=';', index=False, encoding='utf-8') # Send the processed file back with default_storage.open(output_path, 'rb') as file: