Fix one translation activation before parsing notes
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
720de380d1
commit
35e3be8af3
|
@ -1393,6 +1393,8 @@ class Pool(models.Model):
|
|||
max_row += 1
|
||||
|
||||
def parse_spreadsheet(self):
|
||||
translation.activate('fr')
|
||||
|
||||
gc = gspread.service_account_from_dict(settings.GOOGLE_SERVICE_CLIENT)
|
||||
self.tournament.create_spreadsheet()
|
||||
spreadsheet = gc.open_by_key(self.tournament.notes_sheet_id)
|
||||
|
|
Loading…
Reference in New Issue