diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-14 03:54:30 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-14 03:54:30 -0700 |
| commit | 065a6a821ba195a9a61d200b46b8a177023858f8 (patch) | |
| tree | 443ad5c43daf613c6b4e1f98a89fdd05f974311a /rasis.py | |
| parent | bfa4bc4799f3dfb4c49fd069741af2b54f29fa02 (diff) | |
sanitize content before posting
Diffstat (limited to 'rasis.py')
| -rw-r--r-- | rasis.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -99,4 +99,5 @@ if __name__ == "__main__": queued_posts = generate_queued_posts() for post in queued_posts: content = generate_post_content(post) - post_on_fedi(post) + cleaned = content.encode("utf-8", "replace").decode("utf-8") + post_on_fedi(cleaned) |
