--- 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 @@
def CompareLocalAndRemotePLC(self):
- if self.LPCConnector is None:
+ # if self.LPCConnector is None: + if self._connector is None: # 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()