forked from ScoDoc/ScoDoc
fix export excel en neutralisant les formules comme chaine
This commit is contained in:
parent
61db542608
commit
08f651b734
@ -224,6 +224,8 @@ class ScoExcelSheet:
|
|||||||
style -- style par défaut (dictionnaire cf. excel_make_style) de la feuille si non spécifié
|
style -- style par défaut (dictionnaire cf. excel_make_style) de la feuille si non spécifié
|
||||||
"""
|
"""
|
||||||
cell = WriteOnlyCell(self.ws, value or "")
|
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:
|
# if style is not None and "fill" in style:
|
||||||
# toto()
|
# toto()
|
||||||
if style is None:
|
if style is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user