Skip to content
Snippets Groups Projects
Commit f43aeeb5 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

fix: Don’t fail on GajimPlugin equality test

parent 2bdb296a
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,8 @@ def load_config(self) -> None:
self.config.load()
def __eq__(self, plugin: Any) -> bool:
if not isinstance(plugin, GajimPlugin):
return False
return self.manifest.short_name == plugin.manifest.short_name
def __ne__(self, plugin: Any) -> bool:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment