aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rasis.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rasis.py b/rasis.py
index b719527..b3a6e19 100644
--- a/rasis.py
+++ b/rasis.py
@@ -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)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage