diff --git a/openpype/tools/publisher/control.py b/openpype/tools/publisher/control.py index 615f3eb8d9c..50a814de5c1 100644 --- a/openpype/tools/publisher/control.py +++ b/openpype/tools/publisher/control.py @@ -788,6 +788,10 @@ def __str__(self): def __eq__(self, other): return self.name == str(other) + def __ne__(self, other): + # This is implemented only because of Python 2 + return not self == other + class CreatorTypes: base = CreatorType("base")