Fix isNone

This commit is contained in:
yolain
2025-12-19 11:52:48 +08:00
parent e900c2ca9c
commit d39b5e13e2
+1 -1
View File
@@ -1030,7 +1030,7 @@ class isNone:
CATEGORY = "EasyUse/Logic"
def execute(self, any):
return (True if any is None else False,)
return (True if (isinstance(any, str) and any == '') or (isinstance(any, (int, float)) and any == 0) or any is None else False,)
class isSDXL: