is that python snippet yours? If yes: who told you to use hexlify/unhexlify?
>>> print("Output:", binascii.hexlify(m2.digest()))
('Output:', 'e2063f7c629d852302d3020599376016ff340399')
>>> print("Actual", hash)
('Actual', 'e2063f7c629d852302d3020599376016ff340399')
Code:
import hashlib
import binascii
# WBB3 scheme -> sha1($salt.sha1($salt.sha1($pass))
hash = "e2063f7c629d852302d3020599376016ff340399"
salt = "0b053db07dc02bc6f6e24e00462f17e3c550afa9"
password = "123456"
m0 = hashlib.sha1()
m0.update(password)
m1 = hashlib.sha1()
m1.update(salt)
m1.update(binascii.hexlify(m0.digest()))
m2 = hashlib.sha1()
m2.update(salt)
m2.update(binascii.hexlify(m1.digest()))
print("Output:", binascii.hexlify(m2.digest()))
print("Actual", hash)
>>> print("Output:", binascii.hexlify(m2.digest()))
('Output:', 'e2063f7c629d852302d3020599376016ff340399')
>>> print("Actual", hash)
('Actual', 'e2063f7c629d852302d3020599376016ff340399')