properly unload old plugins and load new plugins
[enigma2.git] / lib / python / Plugins / Plugin.py
index 0378ce4cc206b72187f266a912047ba98b3d4d7f..4b5b7e2a8d062bbdede1a78619a5c323787d276a 100644 (file)
@@ -44,3 +44,6 @@ class PluginDescriptor:
                        self.icon = loadPNG(path + self.iconstr)
                else:
                        self.icon = None
                        self.icon = loadPNG(path + self.iconstr)
                else:
                        self.icon = None
+
+       def __eq__(self, other):
+               return self.__call__ == other.__call__