From db4997fdc4d897fd774b212ed7eac86fa2bc9f75 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 11 Nov 2024 08:19:46 -0500 Subject: [PATCH] bot: Remove the header. --- tools/buttfeed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buttfeed.py b/tools/buttfeed.py index cf1ea18f..5c0316b5 100755 --- a/tools/buttfeed.py +++ b/tools/buttfeed.py @@ -44,7 +44,7 @@ cutoff = state.get('last_update') or (time.time() - 2 * 7 * 24 * 60 * 60) entries = [entry for entry in get_entries() if entry[0] > cutoff] if entries: - text = '# Recent Secure Scuttlebutt Development Activity\n\n' + '\n'.join([f' * [{entry[1]}] [{entry[3]}]({entry[2]})' for entry in entries]) + text = '\n'.join([f' * [{entry[1]}] [{entry[3]}]({entry[2]})' for entry in entries]) state['last_update'] = entries[0][0] if args.state_file: content = json.dumps({'type': 'post', 'text': text, 'mentions': []})