--- 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):