Fix llComputeHash on Python 3

This commit is contained in:
Sei Lisa 2024-04-18 19:36:53 +02:00
parent 14a97090bf
commit 914b57f603

View file

@ -1188,7 +1188,7 @@ def llComputeHash(data, alg):
hash = InternalGetAlg(u'sha1')
hash.update(data)
ret += hash.hexdigest()
return ret.decode('utf8')
return str2u(ret)
def llCos(f):
f = ff(f)