Skip to content
Snippets Groups Projects
Commit 144b92e4 authored by opitz's avatar opitz
Browse files

bugfix

parent 75227f20
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ class HasCategoryNode(dict):
dict.__init__(self, self.d)
def __eq__(self, other):
if not isinstance(other, HasCategoryNode):
if not isinstance(other, type(self)):
return False
if not len(self.d) == len(other.d):
return False
......
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