From aa65fbe3ddb1b6f79f91846b421ad6ba34c9b9b0 Mon Sep 17 00:00:00 2001 From: Cameron Hyde Date: Wed, 11 Sep 2024 12:14:36 +1000 Subject: [PATCH] Fix syntax error --- webapp/utils/slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/utils/slack.py b/webapp/utils/slack.py index f038095..1cba9c1 100644 --- a/webapp/utils/slack.py +++ b/webapp/utils/slack.py @@ -18,7 +18,7 @@ def post(message): if user_id: message += f'<@{user_id}>' - message += f' [hostname: {os.getenv('HOSTNAME')}]' + message += f' [hostname: {os.getenv("HOSTNAME")}]' message += f' {message}' requests.post(