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
1 changed files with 2 additions and 2 deletions

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