fixed args alignment
This commit is contained in:
parent
457f5e5034
commit
c2cb72122b
1 changed files with 5 additions and 5 deletions
|
|
@ -505,11 +505,11 @@ class DocConverter(HtmlConverter):
|
|||
|
||||
def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]:
|
||||
"""
|
||||
Args:
|
||||
local_path (str): The path to the DOC file.
|
||||
**kwargs: Additional arguments that may include 'file_extension'.
|
||||
Returns:
|
||||
Union[None, DocumentConverterResult]: The conversion result or None if the file is not a DOC.
|
||||
Args:
|
||||
local_path (str): The path to the DOC file.
|
||||
**kwargs: Additional arguments that may include 'file_extension'.
|
||||
Returns:Union[None, DocumentConverterResult]: The conversion result
|
||||
or None if the file is not a DOC.
|
||||
"""
|
||||
extension = kwargs.get("file_extension", "")
|
||||
if extension.lower() != ".doc":
|
||||
|
|
|
|||
Loading…
Reference in a new issue