From 55a7bf92cee986f33d89c6fffe86efe542ba5cc6 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 10 May 2016 13:59:22 +0200 Subject: [PATCH] fix import _io to uio --- src/trezor/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trezor/log.py b/src/trezor/log.py index e8047ff9dc..59b8577f00 100644 --- a/src/trezor/log.py +++ b/src/trezor/log.py @@ -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())