Remove stale comments.

This commit is contained in:
Adam Fourney 2025-03-05 11:38:43 -08:00
parent aa57757395
commit 5f0b63bb95
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ class RtfConverter(DocumentConverter):
self,
file_stream: BinaryIO,
stream_info: StreamInfo,
**kwargs: Any, # Options to pass to the converter
**kwargs: Any,
) -> bool:
# Implement logic to check if the file stream is an RTF file
@ -36,7 +36,7 @@ class RtfConverter(DocumentConverter):
self,
file_stream: BinaryIO,
stream_info: StreamInfo,
**kwargs: Any, # Options to pass to the converter
**kwargs: Any,
) -> DocumentConverterResult:
# Implement logic to convert the file stream to Markdown

View file

@ -45,7 +45,7 @@ class RtfConverter(DocumentConverter):
self,
file_stream: BinaryIO,
stream_info: StreamInfo,
**kwargs: Any, # Options to pass to the converter
**kwargs: Any,
) -> bool:
mimetype = (stream_info.mimetype or "").lower()
extension = (stream_info.extension or "").lower()
@ -63,7 +63,7 @@ class RtfConverter(DocumentConverter):
self,
file_stream: BinaryIO,
stream_info: StreamInfo,
**kwargs: Any, # Options to pass to the converter
**kwargs: Any,
) -> DocumentConverterResult:
# Read the file stream into an str using hte provided charset encoding, or using the system default
encoding = stream_info.charset or locale.getpreferredencoding()