Merge branch 'main' into set_priorities
This commit is contained in:
commit
2c89d518ec
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class RtfConverter(DocumentConverter):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]:
|
def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]:
|
||||||
# Bail if not a DOCX
|
# Bail if not a RTF
|
||||||
extension = kwargs.get("file_extension", "")
|
extension = kwargs.get("file_extension", "")
|
||||||
if extension.lower() != ".rtf":
|
if extension.lower() != ".rtf":
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue