mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-24 17:42:23 +00:00
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
|
max_row += 1
|
||||||
|
|
||||||
def parse_spreadsheet(self):
|
def parse_spreadsheet(self):
|
||||||
|
translation.activate('fr')
|
||||||
|
|
||||||
gc = gspread.service_account_from_dict(settings.GOOGLE_SERVICE_CLIENT)
|
gc = gspread.service_account_from_dict(settings.GOOGLE_SERVICE_CLIENT)
|
||||||
self.tournament.create_spreadsheet()
|
self.tournament.create_spreadsheet()
|
||||||
spreadsheet = gc.open_by_key(self.tournament.notes_sheet_id)
|
spreadsheet = gc.open_by_key(self.tournament.notes_sheet_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user