diff -r 2e8bf28a8909 -r 07f48018b6f5 etherlab/etherlab.py --- a/etherlab/etherlab.py Thu Oct 04 12:09:23 2018 +0300 +++ b/etherlab/etherlab.py Thu Oct 04 17:24:40 2018 +0300 @@ -13,8 +13,9 @@ import os import shutil import csv +from builtins import str as text + from lxml import etree - import wx from xmlclass import * @@ -227,7 +228,7 @@ self.GetCTRoot().logger.write_warning( XSDSchemaErrorMessage % (filepath + error)) except Exception as exc: - self.modules_infos, error = None, unicode(exc) + self.modules_infos, error = None, text(exc) xmlfile.close() if self.modules_infos is not None: