1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

fix import _io to uio

This commit is contained in:
Pavol Rusnak 2016-05-10 13:59:22 +02:00
parent ef22adb2b7
commit 55a7bf92ce
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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())