wcs_olap: encode unicode value
This commit is contained in:
parent
b166fc0d52
commit
4151129944
|
@ -6,7 +6,7 @@ import linecache
|
|||
def print_tb():
|
||||
exc_type, exc_value, tb = sys.exc_info()
|
||||
if exc_value:
|
||||
exc_value = unicode(str(exc_value), errors='ignore').encode('utf-8')
|
||||
exc_value = unicode(str(exc_value), errors='ignore')
|
||||
error_file = StringIO()
|
||||
|
||||
limit = None
|
||||
|
|
Loading…
Reference in New Issue