chore: type annot
This commit is contained in:
parent
19dc6a3641
commit
42027aac2d
1 changed files with 1 additions and 1 deletions
|
|
@ -510,7 +510,7 @@ class XlsxConverter(HtmlConverter):
|
|||
Converts XLSX files to Markdown, with each sheet presented as a separate Markdown table.
|
||||
"""
|
||||
|
||||
def _clean_colname(self, colname: str | Any) -> str | Any:
|
||||
def _clean_colname(self, colname: Any) -> Any:
|
||||
if isinstance(colname, str) and colname.startswith("Unnamed:"):
|
||||
return ""
|
||||
return colname
|
||||
|
|
|
|||
Loading…
Reference in a new issue