# HG changeset patch # User etisserant # Date 1187679306 -7200 # Node ID a33f06a63e1daa3b46df353eb59dcc46ffc4bb25 # Parent f2529e34e4b7fc6835d4a26739cc40025e923d70 fixed non portable file sep diff -r f2529e34e4b7 -r a33f06a63e1d plcopen/plcopen.py --- 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)