aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-10 19:31:08 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-10 19:31:08 +0000
commit2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89 (patch)
treefb62adc2631876020de58da23c4e3a7e54aa3a35 /lib
parent50f45bd77792ce7a0edb012346629b069e81a966 (diff)
downloadenigma2-2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89.tar.gz
enigma2-2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89.zip
fix stupid code
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Screens/Ci.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py
index 32cc6fef..b6f315b4 100644
--- a/lib/python/Screens/Ci.py
+++ b/lib/python/Screens/Ci.py
@@ -235,8 +235,8 @@ class CiMessageHandler:
print "no session"
def dlgClosed(self, slot):
- del self.dlgs[slot]
- self.dlgs.remove(slot)
+ if slot in self.dlgs:
+ del self.dlgs[slot]
def registerCIMessageHandler(self, slot, func):
self.unregisterCIMessageHandler(slot)