X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/568bc959ef68e29e12afb857d01de2e1f7517e4d..19e1b120e85f3cf3906c640af47c5084b09dd3be:/lib/python/Plugins/Plugin.py diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index bfa8509a..4b5b7e2a 100644 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -35,6 +35,7 @@ class PluginDescriptor: self.description = description self.iconstr = icon + self.icon = None self.__call__ = fnc @@ -43,3 +44,6 @@ class PluginDescriptor: self.icon = loadPNG(path + self.iconstr) else: self.icon = None + + def __eq__(self, other): + return self.__call__ == other.__call__