From 8e463e5971228c3235f89eefdcb3505dac716010 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 8 Jul 2022 06:32:43 +0200 Subject: [PATCH] Missing import in sco_excel --- app/scodoc/sco_excel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_excel.py b/app/scodoc/sco_excel.py index 2c95c7ef..1ea4cee8 100644 --- a/app/scodoc/sco_excel.py +++ b/app/scodoc/sco_excel.py @@ -45,6 +45,7 @@ from openpyxl.worksheet.worksheet import Worksheet import app.scodoc.sco_utils as scu from app import log from app.scodoc.sco_exceptions import ScoValueError +from app.scodoc import notesdb, sco_preferences class COLORS(Enum): @@ -793,7 +794,7 @@ def excel_feuille_listeappel( # ligne 3 cell_2 = ws.make_cell("Enseignant :", style2) - cell_6 = ws.make_cell(("Groupe %s" % groupname), style3) + cell_6 = ws.make_cell(f"Groupe {groupname}", style3) ws.append_row([None, cell_2, None, None, None, None, cell_6]) # ligne 4: Avertissement pour ne pas confondre avec listes notes