etherlab/EthercatMaster.py
changeset 2442 b13f021c68a5
parent 2423 2c7b7ae24d57
child 2447 1c04a50dc7ff
--- a/etherlab/EthercatMaster.py	Tue Oct 09 13:50:29 2018 +0300
+++ b/etherlab/EthercatMaster.py	Tue Oct 09 14:03:44 2018 +0300
@@ -94,7 +94,7 @@
         ethelabfile.close()
 
         return ((["etherlab_ext"], [(Gen_etherlabfile_path, IECCFLAGS)], True), "",
-                ("runtime_etherlab.py", file(GetLocalPath("runtime_etherlab.py"))))
+                ("runtime_etherlab.py", open(GetLocalPath("runtime_etherlab.py"))))
 
 # --------------------------------------------------
 #                 Ethercat MASTER