only show pip option in contextmenu when the hardware can handle pip
[enigma2.git] / lib / python / Screens / HarddiskSetup.py
index 19a674ec66d8da6116f4b61ce820d5a9b585b676..c9f069feb4262fb381870410923f564c7b69ec1c 100644 (file)
@@ -39,7 +39,7 @@ class HarddiskSetup(Screen):
                Screen.__init__(self, session)
                self.hdd = hdd
 
-               if type not in [self.HARDDISK_INITIALIZE, self.HARDDISK_CHECK]:
+               if type not in (self.HARDDISK_INITIALIZE, self.HARDDISK_CHECK):
                        self.type = self.HARDDISK_INITIALIZE
                else:
                        self.type = type