v3.10.1.0

Changelog: https://haproxy-wi.org/changelog.py#3_10_1
This commit is contained in:
Pavel Loginov
2019-12-30 18:52:01 +03:00
parent 2163b047ca
commit 19c22875eb
16 changed files with 220 additions and 155 deletions

View File

@@ -41,6 +41,7 @@ def get_data(type):
fmt = "%b %d %H:%M:%S"
return now_utc.strftime(fmt)
def logging(serv, action, **kwargs):
import sql
@@ -87,6 +88,7 @@ def logging(serv, action, **kwargs):
print('<center><div class="alert alert-danger">Can\'t write log. Please check log_path in config %e</div></center>' % e)
pass
def telegram_send_mess(mess, **kwargs):
import telebot
from telebot import apihelper
@@ -797,4 +799,4 @@ def get_hash(value):
import hashlib
h = hashlib.md5(value.encode('utf-8'))
p = h.hexdigest()
return p
return p