removed args as it is not fixing in pycharm, fixed args alignment
This commit is contained in:
parent
c2cb72122b
commit
fb7beff170
1 changed files with 0 additions and 7 deletions
|
|
@ -504,13 +504,6 @@ class DocConverter(HtmlConverter):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]:
|
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.
|
|
||||||
"""
|
|
||||||
extension = kwargs.get("file_extension", "")
|
extension = kwargs.get("file_extension", "")
|
||||||
if extension.lower() != ".doc":
|
if extension.lower() != ".doc":
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue