Skip to content

Commit

Permalink
fix extractous bug
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 8, 2024
1 parent 4d18c8c commit c56645e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/modules/extractous.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def extract_text(file_path):
result = ""
buffer = reader.read(4096)
while len(buffer) > 0:
result += buffer.decode("utf-8")
result += buffer.decode("utf-8", errors="ignore")
buffer = reader.read(4096)

return result.strip()
Expand Down

0 comments on commit c56645e

Please sign in to comment.