Bug when changing LPCBeremiz OnlineMode fixed
authorlaurent
Tue, 15 Dec 2009 14:40:45 +0100
changeset 517 6da1617a7645
parent 516 6a926af33ebc
child 518 8e61b0066859
Bug when changing LPCBeremiz OnlineMode fixed
LPCBeremiz.py
--- a/LPCBeremiz.py	Tue Dec 15 14:40:18 2009 +0100
+++ b/LPCBeremiz.py	Tue Dec 15 14:40:45 2009 +0100
@@ -444,7 +444,7 @@
             self.OnlineMode = mode
             self.KillDebugThread()
             
-            if self.OnLineMode != 0:
+            if self.OnlineMode != 0:
                 if self._connector is None:
                     uri = "LPC://%s" % path
                     try:
@@ -460,7 +460,7 @@
                 
                 if self._connector is not None:
                 
-                    if self.OnLineMode == 1:
+                    if self.OnlineMode == 1:
                         self.CompareLocalAndRemotePLC()
                     
                         # Init with actual PLC status and print it