mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-29 05:29:03 +00:00
Merge branch 'master' of github.com:satoshilabs/trezor-os
This commit is contained in:
commit
4fec964a90
@ -208,7 +208,7 @@ def layout_tap_to_confirm(address, amount, currency):
|
|||||||
|
|
||||||
@unimport_func
|
@unimport_func
|
||||||
def zprava():
|
def zprava():
|
||||||
from _io import BytesIO
|
from uio import BytesIO
|
||||||
|
|
||||||
from trezor.messages.GetAddress import GetAddress
|
from trezor.messages.GetAddress import GetAddress
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# eigenein (c) 2011
|
# eigenein (c) 2011
|
||||||
# http://eigenein.me/protobuf/
|
# http://eigenein.me/protobuf/
|
||||||
|
|
||||||
from _io import BytesIO
|
from uio import BytesIO
|
||||||
import ustruct
|
import ustruct
|
||||||
|
|
||||||
# Types. -----------------------------------------------------------------------
|
# Types. -----------------------------------------------------------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import _io
|
import uio
|
||||||
import sys
|
import sys
|
||||||
import utime
|
import utime
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ def error(name, msg, *args):
|
|||||||
_log(name, ERROR, msg, *args)
|
_log(name, ERROR, msg, *args)
|
||||||
|
|
||||||
def exception(name, exc):
|
def exception(name, exc):
|
||||||
out = _io.StringIO()
|
out = uio.StringIO()
|
||||||
sys.print_exception(exc, out)
|
sys.print_exception(exc, out)
|
||||||
_log(name, ERROR, out.getvalue())
|
_log(name, ERROR, out.getvalue())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user