mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2024-11-21 14:18:57 -07:00
Fix llComputeHash on Python 3
This commit is contained in:
parent
14a97090bf
commit
914b57f603
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ def llComputeHash(data, alg):
|
||||||
hash = InternalGetAlg(u'sha1')
|
hash = InternalGetAlg(u'sha1')
|
||||||
hash.update(data)
|
hash.update(data)
|
||||||
ret += hash.hexdigest()
|
ret += hash.hexdigest()
|
||||||
return ret.decode('utf8')
|
return str2u(ret)
|
||||||
|
|
||||||
def llCos(f):
|
def llCos(f):
|
||||||
f = ff(f)
|
f = ff(f)
|
||||||
|
|
Loading…
Reference in a new issue