This commit is contained in:
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

@@ -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()