diff options
| author | acid-burn <acid-burn@opendreambox.org> | 2011-02-11 13:32:34 +0100 |
|---|---|---|
| committer | acid-burn <acid-burn@opendreambox.org> | 2011-02-11 13:32:34 +0100 |
| commit | cdb8a973f09efb2d42875d7854edba9a411719ff (patch) | |
| tree | 5b921108c57976ee785b89ed57490abf3707b760 /lib/python/Plugins/Plugin.py | |
| parent | 09eaa1b41d5b74464ad83eda66be50689247074f (diff) | |
| parent | 03706708fac0d7ac8cf0b63af9e473416f42e1b5 (diff) | |
| download | enigma2-cdb8a973f09efb2d42875d7854edba9a411719ff.tar.gz enigma2-cdb8a973f09efb2d42875d7854edba9a411719ff.zip | |
Merge remote branch 'origin/acid-burn/bug_670_plugin_restartoption'
Diffstat (limited to 'lib/python/Plugins/Plugin.py')
| -rwxr-xr-x | lib/python/Plugins/Plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index 5a676cda..9ecdbc26 100755 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -61,9 +61,10 @@ class PluginDescriptor: WHERE_SOFTWAREMANAGER = 14 - def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, internal = False): + def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, needsRestart = None, internal = False): self.name = name self.internal = internal + self.needsRestart = needsRestart if isinstance(where, list): self.where = where else: |
