LPCManager.py
changeset 55 0be064739434
parent 53 d92a0c3040a4
child 57 4b838bdedc16
equal deleted inserted replaced
54:eb068364ccfa 55:0be064739434
  2156     Log = StdoutPseudoFile(port)
  2156     Log = StdoutPseudoFile(port)
  2157 
  2157 
  2158     if projectOpen is not None:
  2158     if projectOpen is not None:
  2159         projectOpen = DecodeFileSystemPath(projectOpen, False)
  2159         projectOpen = DecodeFileSystemPath(projectOpen, False)
  2160     
  2160     
  2161     CTR = LPCProjectController(None, Log, DecodeFileSystemPath(buildpath))
  2161     CTR = LPCProjectController(None, Log, buildpath)
  2162     if projectOpen is not None and os.path.isdir(projectOpen):
  2162     if projectOpen is not None and os.path.isdir(projectOpen):
  2163         result = CTR.LoadProject(projectOpen)
  2163         result = CTR.LoadProject(projectOpen)
  2164         if result:
  2164         if result:
  2165             Log.write("Error: Invalid project directory", result)
  2165             Log.write("Error: Invalid project directory", result)
  2166     else:
  2166     else: