mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
fix import _io to uio
This commit is contained in:
parent
ef22adb2b7
commit
55a7bf92ce
@ -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