update utils.py

This commit is contained in:
diamond75 2025-04-04 22:31:25 +13:00
parent 3520939452
commit 8251d8bc91

View file

@ -218,5 +218,7 @@ def bytes_to_base62(idstr: bytes) -> str:
Returns:
base62
"""
print (binascii.hexlify(idstr))
return BASE62.encode(idstr, 22).decode()
print(binascii.hexlify(idstr))
res = BASE62.encode(idstr, 22).decode()
print(res)
return res