small speedups/cleanups by moritz venn
[vuplus_dvbapp] / lib / python / Components / HelpMenuList.py
index 04815c8..2a7bd99 100755 (executable)
@@ -38,7 +38,7 @@ class HelpMenuList(GUIComponent):
                                        
                                entry.append( (actionmap, context, action, name ) )
                                        
-                               if type(help).__name__== 'list':
+                               if isinstance(help, list):
                                        self.extendedHelp = True
                                        print "extendedHelpEntry found"
                                        entry.append( (eListboxPythonMultiContent.TYPE_TEXT, 0, 0, 400, 26, 0, 0, help[0]) )