VCS/StatusMonitorLed.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/VCS/StatusMonitorLed.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/VCS/StatusMonitorLed.py	Mon Dec 28 18:31:37 2009 +0000
@@ -91,7 +91,7 @@
         @param status status of the monitoring thread (string, ok, nok or off)
         @param statusMsg explanotory text for the signaled status (string)
         """
-        self.setColor(self.vcsMonitorLedColors[unicode(status)])
+        self.setColor(self.vcsMonitorLedColors[status])
         self.setToolTip(statusMsg)
         
         self.__on = status != 'off'

eric ide

mercurial