Fix a typo in sample RTF plugin (#320)

This commit is contained in:
Ruijun Gao
2025-02-12 02:33:52 +08:00
committed by GitHub
parent 3a5ca22a8d
commit 5ce85c236c

View File

@@ -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