--- a/etherlab/EthercatMaster.py Tue Oct 02 17:18:09 2018 +0300
+++ b/etherlab/EthercatMaster.py Tue Oct 02 18:08:49 2018 +0300
@@ -249,7 +249,7 @@
EtherCATConfigParser.LoadXMLString(config_xmlfile.read())
if error is None:
config_is_saved = True
- except Exception, e:
+ except Exception as e:
error = e.message
config_xmlfile.close()
@@ -270,7 +270,7 @@
ProcessVariablesParser.LoadXMLString(process_xmlfile.read())
if error is None:
process_is_saved = True
- except Exception, e:
+ except Exception as e:
error = e.message
process_xmlfile.close()