From 63ab33800e65811a284701d6c2ddd622479efc13 Mon Sep 17 00:00:00 2001 From: Acly Date: Mon, 21 Oct 2024 15:11:01 +0200 Subject: [PATCH] Fix Parameter node type comparison for workflow validation --- krita.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/krita.py b/krita.py index 13faaa7..18af668 100644 --- a/krita.py +++ b/krita.py @@ -132,6 +132,9 @@ class _BasicTypes(str): def __eq__(self, other): return other in self.basic_types or isinstance(other, (list, _BasicTypes)) + def __ne__(self, other): + return not self.__eq__(other) + def __str__(self): return "BASIC"