lib/python/Plugins/Extensions/DVDPlayer/src/servicedvd.h/cpp: add support for autores...
[enigma2.git] / e2reactor.py
index a3d8ce1907794f39795a648d2bbb4c104cb0ecb3..cca2f358eeb5632b98f9c11deb4d0802a69481be 100644 (file)
@@ -36,7 +36,10 @@ class E2SharedPoll:
                del self.dict[fd]
        
        def poll(self, timeout = None):
-               r = self.eApp.poll(timeout, self.dict)
+               try:
+                       r = self.eApp.poll(timeout, self.dict)
+               except KeyboardInterrupt:
+                       return None
                return r
 
 poller = E2SharedPoll()