mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 10:39:13 +00:00
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:
parent
299bb35d8c
commit
379694c267
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class SlackHistory:
|
||||||
channel_id=channel_id,
|
channel_id=channel_id,
|
||||||
limit=limit,
|
limit=limit,
|
||||||
oldest=oldest,
|
oldest=oldest,
|
||||||
latest=latest # Retyped to remove hidden characters
|
latest=latest
|
||||||
)
|
)
|
||||||
return messages, None
|
return messages, None
|
||||||
except SlackApiError as e:
|
except SlackApiError as e:
|
||||||
|
|
Loading…
Add table
Reference in a new issue