diff -r c553769a65af -r b13f021c68a5 etherlab/EthercatMaster.py --- 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