From 87f326e934243a0174b8104365efa04a4c41e2c2 Mon Sep 17 00:00:00 2001 From: Matt C Date: Wed, 19 Oct 2022 22:30:28 -0400 Subject: [PATCH] fmtstring lol Signed-off-by: Matt C --- bot.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bot.py b/bot.py index f6b3fcb..d34b2cb 100644 --- a/bot.py +++ b/bot.py @@ -7,12 +7,7 @@ g = Github(open(".access_token").read().strip()) def post_update(text): repo = g.get_repo("crystalrfc-bot/status") thread = repo.get_issue(1) - thread.create_comment( - text - + "\nBeep Boop! (I'm a bot, and this action was performed automagically.)\nScan timestamp: `" - + datetime.now().isoformat() - + "`" - ) + thread.create_comment(f"{text}\nBeep Boop! (I'm a bot, and this action was performed automagically.)\nScan timestamp: `{datetime.now().isoformat()}`") targets = ["crystal-linux/.github", "crystal-linux-packages/.github"]