diff --git a/zulip_bots/zulip_bots/blogbot.py b/zulip_bots/zulip_bots/blogbot.py index 312bebd..a87bcd8 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(id, html) + save_post(save_dir, id, html) if first: seen = set(id for id, html in posts) if test: