etherlab/EthercatMaster.py
changeset 2447 1c04a50dc7ff
parent 2442 b13f021c68a5
child 2456 7373e3048167
--- a/etherlab/EthercatMaster.py	Wed Oct 10 10:50:00 2018 +0300
+++ b/etherlab/EthercatMaster.py	Thu Oct 11 09:41:15 2018 +0300
@@ -250,7 +250,7 @@
                 if error is None:
                     config_is_saved = True
             except Exception as e:
-                error = e.message
+                error = str(e)
             config_xmlfile.close()
 
             if error is not None:
@@ -271,7 +271,7 @@
                 if error is None:
                     process_is_saved = True
             except Exception as e:
-                error = e.message
+                error = str(e)
             process_xmlfile.close()
 
             if error is not None: