None check
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 24 Apr 2006 13:56:29 +0000 (13:56 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 24 Apr 2006 13:56:29 +0000 (13:56 +0000)
lib/python/Screens/ChannelSelection.py

index 0e3ee2fcbb13c29c9b1bb900b70ca8fda48291ef..2bc6259a2eb0b8a0b46a8e5b765d0b0e8da6bbf6 100644 (file)
@@ -215,7 +215,7 @@ class ChannelSelectionEdit:
                serviceHandler = eServiceCenter.getInstance()
                if not root.valid():
                        root=self.getRoot()
-               list = serviceHandler.list(root)
+               list = root and serviceHandler.list(root)
                if list is not None:
                        return list.startEdit()
                return None