from trezor import config from trezor import log def pin_to_int(pin): return int('1'+pin)