mirror of https://github.com/Aidaho12/haproxy-wi
parent
f380d8da4c
commit
f5baf1602f
|
@ -239,7 +239,6 @@ def telegram_send_mess(mess, **kwargs):
|
||||||
mess = " Can't send message. Add Telegram channel before use alerting at this servers group"
|
mess = " Can't send message. Add Telegram channel before use alerting at this servers group"
|
||||||
print(mess)
|
print(mess)
|
||||||
logging('localhost', mess, haproxywi=1)
|
logging('localhost', mess, haproxywi=1)
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
if proxy is not None and proxy != '' and proxy != 'None':
|
if proxy is not None and proxy != '' and proxy != 'None':
|
||||||
apihelper.proxy = {'https': proxy}
|
apihelper.proxy = {'https': proxy}
|
||||||
|
|
Loading…
Reference in New Issue