PLCGenerator.py
changeset 1831 56b48961cc68
parent 1782 5b6ad7a7fd9d
child 1832 0f1081928d65
--- a/PLCGenerator.py	Fri Sep 22 20:12:22 2017 +0300
+++ b/PLCGenerator.py	Thu Sep 28 12:20:40 2017 +0300
@@ -99,7 +99,7 @@
 # -------------------------------------------------------------------------------
 
 
-class ProgramGenerator:
+class ProgramGenerator(object):
 
     # Create a new PCL program generator
     def __init__(self, controler, project, errors, warnings):
@@ -505,7 +505,7 @@
 ActionObjClass = PLCOpenParser.GetElementClass("action", "actions")
 
 
-class PouProgramGenerator:
+class PouProgramGenerator(object):
 
     # Create a new POU program generator
     def __init__(self, parent, name, type, errors, warnings):