py3: convert exception to bytes to pass into ui.warn()
Here encoding.strtolocal() is used because exc maybe an IOError which could contain a valid non-ascii unicode.
Please register or sign in to comment
Here encoding.strtolocal() is used because exc maybe an IOError which could contain a valid non-ascii unicode.