Fix error message.
This commit is contained in:
parent
36627e2969
commit
1959e9cdd8
1 changed files with 1 additions and 1 deletions
|
@ -90,4 +90,4 @@ def str_hash(s):
|
||||||
if isinstance(s, str):
|
if isinstance(s, str):
|
||||||
return hashlib.md5(s.encode('utf-8')).hexdigest()
|
return hashlib.md5(s.encode('utf-8')).hexdigest()
|
||||||
else:
|
else:
|
||||||
raise Error("str_hash param should be string")
|
raise Error("Param should be string")
|
||||||
|
|
Loading…
Reference in a new issue