From 943276ef71f9b3a4018247826e7b19e70d5adc29 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 21 Apr 2024 07:46:20 +0200 Subject: [PATCH] Round is an integer Signed-off-by: Emmy D'Anello --- participation/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)