Fix a typo in sample RTF plugin (#320)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user