don't crash when exitting dvd image selection without selection
[enigma2.git] / lib / python / Plugins / Plugin.py
index 4319d324414043b2244f1c91c10fe5c32f914805..a0db1d6637ae93d24015f2e073a1e28db4624fab 100644 (file)
@@ -45,8 +45,9 @@ class PluginDescriptor:
        # or return a function which is called with session and the interface name for extended setup of this interface
        WHERE_NETWORKSETUP = 10
        
-       def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None):
+       def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, internal = False):
                self.name = name
+               self.internal = internal
                if type(where) is list:
                        self.where = where
                else: