From 2064bf2d86b4e949dff3662b1d2fba91a92f1ccd Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Thu, 11 Jun 2020 00:20:10 +0200 Subject: [PATCH] improve message formating --- telegram-notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-notify.py b/telegram-notify.py index 3c88176..7c3a60c 100755 --- a/telegram-notify.py +++ b/telegram-notify.py @@ -29,7 +29,7 @@ if __name__ == "__main__": serviceName = args.e if args.u: serviceName = args.u - message = "*{service} {state} on {host}*\n{output}\Icingaweb: {url}".format( + message = "*{service} {state} on {host}*\n{output}\n**Icingaweb**: [{url}]({url})".format( service=serviceName, state=args.s, host=args.l, output=args.o, url=args.i) # create and send request #