Fallback to gviz values without formatting
This commit is contained in:
@@ -61,7 +61,7 @@ def read_gviz(sheet: str) -> list[list[str]]:
|
|||||||
def cell_value(cell: dict | None) -> str:
|
def cell_value(cell: dict | None) -> str:
|
||||||
if not cell:
|
if not cell:
|
||||||
return ""
|
return ""
|
||||||
value = cell.get("f", cell.get("v", ""))
|
value = cell.get("f") if cell.get("f") is not None else cell.get("v", "")
|
||||||
if value is None:
|
if value is None:
|
||||||
return ""
|
return ""
|
||||||
if isinstance(value, bool):
|
if isinstance(value, bool):
|
||||||
|
|||||||
Reference in New Issue
Block a user