aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-23 02:59:37 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-23 02:59:37 +0000
commitc8c839608b98cc3b37e90d049b66e646f8e46cd9 (patch)
treea034481353658f89b59138da4a02cae751d6c11b /lib/python/Plugins
parent08e972ae07f60852a888c93199319444e8c06714 (diff)
downloadenigma2-c8c839608b98cc3b37e90d049b66e646f8e46cd9.tar.gz
enigma2-c8c839608b98cc3b37e90d049b66e646f8e46cd9.zip
properly unload old plugins and load new plugins
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py
index 0378ce4c..4b5b7e2a 100644
--- a/lib/python/Plugins/Plugin.py
+++ b/lib/python/Plugins/Plugin.py
@@ -44,3 +44,6 @@ class PluginDescriptor:
self.icon = loadPNG(path + self.iconstr)
else:
self.icon = None
+
+ def __eq__(self, other):
+ return self.__call__ == other.__call__