fmtstring lol

Signed-off-by: Matt C <matthew.compton@mymail.champlain.edu>
main
Matt C 2 years ago committed by GitHub
parent ac9676b78c
commit 87f326e934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,12 +7,7 @@ g = Github(open(".access_token").read().strip())
def post_update(text): def post_update(text):
repo = g.get_repo("crystalrfc-bot/status") repo = g.get_repo("crystalrfc-bot/status")
thread = repo.get_issue(1) thread = repo.get_issue(1)
thread.create_comment( thread.create_comment(f"{text}\nBeep Boop! (I'm a bot, and this action was performed automagically.)\nScan timestamp: `{datetime.now().isoformat()}`")
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"] targets = ["crystal-linux/.github", "crystal-linux-packages/.github"]

Loading…
Cancel
Save