From 379694c267e7ed023bcf3cb6756df0e481d46ac9 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 27 May 2025 13:44:56 +0000 Subject: [PATCH] Hotfix: Remove non-printable characters from slack_history.py This commit addresses recurring `SyntaxError: invalid non-printable character U+001B` errors in `surfsense_backend/app/connectors/slack_history.py`. The file was cleaned to remove all occurrences of the U+001B (ESCAPE) character. This ensures that previously introduced problematic control characters are fully removed, allowing the application to parse and load the module correctly. --- surfsense_backend/app/connectors/slack_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfsense_backend/app/connectors/slack_history.py b/surfsense_backend/app/connectors/slack_history.py index 6e0e57a..0bb90ec 100644 --- a/surfsense_backend/app/connectors/slack_history.py +++ b/surfsense_backend/app/connectors/slack_history.py @@ -268,7 +268,7 @@ class SlackHistory: channel_id=channel_id, limit=limit, oldest=oldest, - latest=latest # Retyped to remove hidden characters + latest=latest ) return messages, None except SlackApiError as e: