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.
This commit is contained in:
google-labs-jules[bot] 2025-05-27 13:44:56 +00:00
parent 299bb35d8c
commit 379694c267

View file

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