wcs_olap: encode unicode value

This commit is contained in:
Benjamin Dauvergne 2016-06-18 09:23:54 +02:00
parent e156e13cf4
commit 2b62e9b059
1 changed files with 1 additions and 1 deletions

View File

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