git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove faulty debug print
[enigma2.git]
/
lib
/
python
/
Plugins
/
Plugin.py
diff --git
a/lib/python/Plugins/Plugin.py
b/lib/python/Plugins/Plugin.py
index 4b5b7e2a8d062bbdede1a78619a5c323787d276a..3db703979cc622e281d34f2de4003d2852a7efa5 100644
(file)
--- a/
lib/python/Plugins/Plugin.py
+++ b/
lib/python/Plugins/Plugin.py
@@
-34,8
+34,11
@@
class PluginDescriptor:
self.where = [ where ]
self.description = description
- self.iconstr = icon
- self.icon = None
+ if type(icon) is str or icon is None:
+ self.iconstr = icon
+ self.icon = None
+ else:
+ self.icon = icon
self.__call__ = fnc