Fix a typo in sample RTF plugin (#320)
This commit is contained in:
parent
3a5ca22a8d
commit
5ce85c236c
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]:
|
||||
# Bail if not a DOCX
|
||||
# Bail if not a RTF
|
||||
extension = kwargs.get("file_extension", "")
|
||||
if extension.lower() != ".rtf":
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue