mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-27 00:28:10 +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
|
||||
def zprava():
|
||||
from _io import BytesIO
|
||||
from uio import BytesIO
|
||||
|
||||
from trezor.messages.GetAddress import GetAddress
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# eigenein (c) 2011
|
||||
# http://eigenein.me/protobuf/
|
||||
|
||||
from _io import BytesIO
|
||||
from uio import BytesIO
|
||||
import ustruct
|
||||
|
||||
# Types. -----------------------------------------------------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
import _io
|
||||
import uio
|
||||
import sys
|
||||
import utime
|
||||
|
||||
@ -41,7 +41,7 @@ def error(name, msg, *args):
|
||||
_log(name, ERROR, msg, *args)
|
||||
|
||||
def exception(name, exc):
|
||||
out = _io.StringIO()
|
||||
out = uio.StringIO()
|
||||
sys.print_exception(exc, out)
|
||||
_log(name, ERROR, out.getvalue())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user