From 2a1268747309a2f4ff06db5118182aea71e26640 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 5 Nov 2024 05:57:00 +0100 Subject: [PATCH] blogbot: need to save the string version of the html --- zulip_bots/zulip_bots/blogbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulip_bots/zulip_bots/blogbot.py b/zulip_bots/zulip_bots/blogbot.py index a87bcd8..ca86881 100644 --- a/zulip_bots/zulip_bots/blogbot.py +++ b/zulip_bots/zulip_bots/blogbot.py @@ -169,7 +169,7 @@ def main(config_file, interval=60, test=False, stream='bot-spam', topic='Blog Po else: if save_dir is not None: for id, html in posts: - save_post(save_dir, id, html) + save_post(save_dir, id, str(html)) if first: seen = set(id for id, html in posts) if test: