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