# HG changeset patch
# User laurent
# Date 1260884445 -3600
# Node ID 6da1617a7645b13713f636a12204d4f49c4267e1
# Parent  6a926af33ebc44b0c731de9553c7b74b5cd2d68a
Bug when changing LPCBeremiz OnlineMode fixed

diff -r 6a926af33ebc -r 6da1617a7645 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