added notification functionality

master
git 2021-02-10 21:12:00 +01:00
parent c35f39bba5
commit 60e93ab74c
1 changed files with 1 additions and 1 deletions

View File

@ -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