ver Mar6thv2

fixed bug
This commit is contained in:
David Chang
2024-03-06 16:29:54 +08:00
parent 806ee50e72
commit 80ad7e53c4

View File

@@ -318,7 +318,7 @@ def read_cell_value(xlsx_file: str, sheet_name: str, coordinate: str) -> Any:
return shared_strs[int(cell["c"]["v"])]
if cell["c"]["@t"] == "str":
return cell["c"]["v"]
except KeyError, ValueError:
except (KeyError, ValueError):
return None
# }}} read_cell_value #