From 60e93ab74c46a804aa55924a38fac179da2f0b8e Mon Sep 17 00:00:00 2001 From: git Date: Wed, 10 Feb 2021 21:12:00 +0100 Subject: [PATCH] added notification functionality --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 0a4cfb7..d5eb368 100644 --- a/src/app.py +++ b/src/app.py @@ -29,7 +29,7 @@ def verifyapikey(apikey, config): def notify(config, message, var): url = config['url'][message] - url = url.replace('XXXXXX', var) + url = url.replace('XXXXXX', str(var)) requests.get(url) return