diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:43:54 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-03-05 21:43:54 +0000 |
| commit | aa4989974a32ab2437d51fb6352b3eb54cecd83d (patch) | |
| tree | 02985c92f7eefd795dd96cfde0ee4f5262a18a50 /lib/python/Plugins/Plugin.py | |
| parent | 313449731e21f1360ce920e7daf24ddd512706fc (diff) | |
| download | enigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.tar.gz enigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.zip | |
plugin api change: Plugins() and main functions must receive (and possibly ignore) keyword arguments
Diffstat (limited to 'lib/python/Plugins/Plugin.py')
| -rw-r--r-- | lib/python/Plugins/Plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index 3db70397..2c8d9296 100644 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -11,6 +11,8 @@ class PluginDescriptor: # servicereference # reason + # you have to ignore unknown kwargs! + # argument: session WHERE_BLUEMENU = 0 WHERE_MAINMENU = 1 @@ -44,7 +46,7 @@ class PluginDescriptor: def updateIcon(self, path): if type(self.iconstr) is str: - self.icon = loadPNG(path + self.iconstr) + self.icon = loadPNG(path + "/" + self.iconstr) else: self.icon = None |
