diff -r a4bc15ac7998 -r 4b838bdedc16 LPCManager.py --- a/LPCManager.py Fri Sep 27 14:06:59 2013 +0200 +++ b/LPCManager.py Thu Oct 03 22:59:38 2013 +0200 @@ -1006,8 +1006,6 @@ """ Method called by user to Simulate PLC """ - self.CurrentMode = SIMULATION_MODE - uri = "LOCAL://" try: self._SetConnector(connectors.ConnectorFactory(uri, self)) @@ -1022,6 +1020,8 @@ self.StopSimulation() return False + self.CurrentMode = SIMULATION_MODE + buildpath = self._getBuildPath() # Eventually create build dir