pull/181/head
Pavel Loginov 2019-11-21 23:36:52 +03:00
parent 80e7b6a295
commit c6c6989d3d
3 changed files with 7 additions and 1 deletions

View File

@ -438,7 +438,7 @@ def update_db_v_3_5_3(**kwargs):
def update_ver(**kwargs):
con, cur = get_cur()
sql = """update version set version = '3.7.3.2'; """
sql = """update version set version = '3.7.3.3'; """
try:
cur.execute(sql)
con.commit()

View File

@ -727,6 +727,8 @@ def versions():
def get_hash(value):
if value is None:
return value
import hashlib
h = hashlib.md5(value.encode('utf-8'))
p = h.hexdigest()

View File

@ -228,6 +228,10 @@ $( function() {
$('.alert-danger').remove();
$('.alert-warning').remove();
$("#ajax-update").html('<div class="alert alert-danger">It is seems like you Unauthorized in the HAProxy-WI repository.</data>');
} else if (data.indexOf('Error: Package') != '-1') {
$('.alert-danger').remove();
$('.alert-warning').remove();
$("#ajax-update").html('<div class="alert alert-danger">'+data+'</data>');
}
}
} );