etherlab/etherlab.py
branchpython3
changeset 3752 9f6f46dbe3ae
parent 2643 b98d9e08231f
--- a/etherlab/etherlab.py	Fri Oct 28 13:06:52 2022 +0800
+++ b/etherlab/etherlab.py	Fri Oct 28 14:07:13 2022 +0800
@@ -13,7 +13,6 @@
 import os
 import shutil
 import csv
-from builtins import str as text
 
 from lxml import etree
 import wx
@@ -425,7 +424,7 @@
                     #     self.GetCTRoot().logger.write_warning(
                     #         XSDSchemaErrorMessage % (filepath + error))
                 except Exception as exc:
-                    self.modules_infos, error = None, text(exc)
+                    self.modules_infos, error = None, str(exc)
                 xmlfile.close()
 
                 if self.modules_infos is not None: