fixed args alignment

This commit is contained in:
Aviral Bhardwaj 2024-12-16 19:39:10 +05:30
parent 457f5e5034
commit c2cb72122b

View file

@ -508,8 +508,8 @@ class DocConverter(HtmlConverter):
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.
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":