diff options
Diffstat (limited to 'lib/python/Screens')
| -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) |
