LPCBeremiz.py
changeset 521 02cb9e5fb6f6
parent 519 3a5faff52e5c
child 526 68375ccdf968
--- a/LPCBeremiz.py	Tue Dec 15 16:04:28 2009 +0100
+++ b/LPCBeremiz.py	Tue Dec 15 18:24:50 2009 +0100
@@ -561,7 +561,7 @@
             if self._connector is not None:
                 simulating = self._connector.GetPLCstatus() == "Started"
             status = "Disconnected"
-        elif self.OnlineMode == 1:
+        elif self.OnlineMode == 2:
             if self._connector is not None:
                 simulating = self._connector.GetPLCstatus() == "Started"
             status = "Connected"