small fix

This commit is contained in:
xunbu
2025-12-31 13:42:54 +08:00
parent 9c76bc49fe
commit a2f70a66ea

View File

@@ -188,7 +188,7 @@ def get_workflow_type_from_filename(filename: str) -> str:
return "docx" return "docx"
elif ext in [".csv", ".xlsx", ".xls"]: elif ext in [".csv", ".xlsx", ".xls"]:
return "xlsx" return "xlsx"
elif ext in [".pptx", "ppt"]: elif ext in [".pptx", ".ppt"]:
return "pptx" return "pptx"
elif ext in [".json"]: elif ext in [".json"]:
return "json" return "json"