lpcmanager

d7c0471efa16
Parents 706ede36d534
Children c30786d9b125
Replaced LPCConnector with _connector.
--- a/LPCManager.py Fri Aug 05 12:56:54 2016 +0200
+++ b/LPCManager.py Fri Aug 05 13:12:55 2016 +0200
@@ -957,12 +957,15 @@
self.StopSimulation()
def CompareLocalAndRemotePLC(self):
- if self.LPCConnector is None:
+ # if self.LPCConnector is None:
+ # return
+ if self._connector is None:
return
# We are now connected. Update button status
MD5 = self.GetLastBuildMD5()
# Check remote target PLC correspondance to that md5
- if MD5 is not None and self.LPCConnector.MatchMD5(MD5):
+ # if MD5 is not None and self.LPCConnector.MatchMD5(MD5):
+ if MD5 is not None and self._connector.MatchMD5(MD5):
# warns controller that program match
self.ProgramTransferred()