Update for an Issue #225

This commit is contained in:
Miroslav Stampar 2012-10-30 00:59:31 +01:00
parent 726de868e2
commit b0f5b4f9bc

View File

@ -38,7 +38,7 @@ def hexdecode(value):
return (value[2:] if value.startswith("0x") else value).decode("hex")
def hexencode(value):
return value.encode("hex")
return utf8encode(value).encode("hex")
def md5hash(value):
if sys.modules.has_key('hashlib'):