diff --git a/participation/views.py b/participation/views.py index 0b17716..b7dcd1a 100644 --- a/participation/views.py +++ b/participation/views.py @@ -823,7 +823,7 @@ class TournamentHarmonizeNoteView(VolunteerMixin, DetailView): gc = gspread.service_account_from_dict(settings.GOOGLE_SERVICE_CLIENT) spreadsheet = gc.open_by_key(tournament.notes_sheet_id) worksheet = spreadsheet.worksheet("Classement final") - column = 3 if kwargs['round'] == '1' else 5 + column = 3 if kwargs['round'] == 1 else 5 row = worksheet.find(f"{participation.team.name} ({participation.team.trigram})", in_column=1).row worksheet.update_cell(row, column, new_diff)