fix export excel en neutralisant les formules comme chaine

This commit is contained in:
Jean-Marie Place 2021-09-14 22:45:42 +02:00
parent 61db542608
commit 08f651b734

View File

@ -224,6 +224,8 @@ class ScoExcelSheet:
style -- style par défaut (dictionnaire cf. excel_make_style) de la feuille si non spécifié
"""
cell = WriteOnlyCell(self.ws, value or "")
if not (isinstance(value, int) or isinstance(value, float)):
cell.data_type = "s"
# if style is not None and "fill" in style:
# toto()
if style is None: