diff --git a/app/create_db.py b/app/create_db.py index 721d7b26..5334188f 100644 --- a/app/create_db.py +++ b/app/create_db.py @@ -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() diff --git a/app/funct.py b/app/funct.py index 185cca2c..9c68c134 100644 --- a/app/funct.py +++ b/app/funct.py @@ -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() diff --git a/inc/users.js b/inc/users.js index 9771e254..e4bfc65d 100644 --- a/inc/users.js +++ b/inc/users.js @@ -228,6 +228,10 @@ $( function() { $('.alert-danger').remove(); $('.alert-warning').remove(); $("#ajax-update").html('