added notification functionality
parent
c35f39bba5
commit
60e93ab74c
|
@ -29,7 +29,7 @@ def verifyapikey(apikey, config):
|
||||||
|
|
||||||
def notify(config, message, var):
|
def notify(config, message, var):
|
||||||
url = config['url'][message]
|
url = config['url'][message]
|
||||||
url = url.replace('XXXXXX', var)
|
url = url.replace('XXXXXX', str(var))
|
||||||
requests.get(url)
|
requests.get(url)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue