diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-10 19:31:08 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-10 19:31:08 +0000 |
| commit | 2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89 (patch) | |
| tree | fb62adc2631876020de58da23c4e3a7e54aa3a35 /lib/python/Screens/Ci.py | |
| parent | 50f45bd77792ce7a0edb012346629b069e81a966 (diff) | |
| download | enigma2-2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89.tar.gz enigma2-2178da99c7e612ef14cc8bb2e0798ee3dd1ebd89.zip | |
fix stupid code
Diffstat (limited to 'lib/python/Screens/Ci.py')
| -rw-r--r-- | lib/python/Screens/Ci.py | 4 |
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) |
