NFIFlash: hide hdd and other mounts (#480)
[vuplus_dvbapp] / lib / python / Screens / ChoiceBox.py
index f33ab0e..7c8b142 100644 (file)
@@ -7,8 +7,10 @@ from Components.Sources.StaticText import StaticText
 class ChoiceBox(Screen):
        def __init__(self, session, title = "", list = [], keys = None, selection = 0, skin_name = []):
                Screen.__init__(self, session)
-               
-               self.skinName = ["ChoiceBox"] + skin_name
+
+               if isinstance(skin_name, str):
+                       skin_name = [skin_name]
+               self.skinName = skin_name + ["ChoiceBox"] 
 
                self["text"] = Label(title)
                self.list = []