diff -r 2a70d5240300 -r 21164625b393 etherlab/etherlab.py --- a/etherlab/etherlab.py Fri Nov 23 11:01:20 2018 +0100 +++ b/etherlab/etherlab.py Fri Nov 23 12:13:24 2018 +0100 @@ -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: