Beremiz_service.py
changeset 411 8261c8f1e365
parent 409 63249a965feb
child 415 339fa2542481
--- a/Beremiz_service.py	Thu Oct 08 11:09:01 2009 +0200
+++ b/Beremiz_service.py	Thu Oct 08 11:26:40 2009 +0200
@@ -415,7 +415,7 @@
             def UpdateIcon(self, plcstatus):
                 if plcstatus is "Started" :
                     currenticon = self.MakeIcon(starticon.GetImage())
-                elif plcstatus is "Stopped":
+                elif plcstatus is "Stopped" or plcstatus is "Starting":
                     currenticon = self.MakeIcon(stopicon.GetImage())
                 else:
                     currenticon = self.MakeIcon(defaulticon.GetImage())