--- a/plcopen/plcopen.py Tue Aug 21 08:54:41 2007 +0200
+++ b/plcopen/plcopen.py Tue Aug 21 08:55:06 2007 +0200
@@ -48,9 +48,9 @@
PLCOpenTypes = {}
base_folder = ""
for path in sys.path:
- if os.path.isfile(os.path.join(path, "plcopen/TC6_XML_V10_B.xsd")):
+ if os.path.isfile(os.path.join(path, "plcopen", "TC6_XML_V10_B.xsd")):
base_folder = path
-GenerateClassesFromXSD(os.path.join(base_folder, "plcopen/TC6_XML_V10_B.xsd"))
+GenerateClassesFromXSD(os.path.join(base_folder, "plcopen", "TC6_XML_V10_B.xsd"))
CreateClasses(PLCOpenClasses, PLCOpenTypes)
cls = PLCOpenClasses.get("dataType", None)