From c56645e1041e1d21cb7aadeb234fc35d86c9bacc Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 7 Dec 2024 20:10:18 -0500 Subject: [PATCH] fix extractous bug --- bbot/modules/extractous.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/extractous.py b/bbot/modules/extractous.py index 5b2e2cdec7..9d2ae153b4 100644 --- a/bbot/modules/extractous.py +++ b/bbot/modules/extractous.py @@ -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()