Fix None check

This commit is contained in:
filtered
2024-09-05 07:16:48 +10:00
parent 8f633400c8
commit 143058b91b
+1 -1
View File
@@ -68,7 +68,7 @@ class WTFDebugNode:
except Exception as e:
info["shape"] = str(e)
info["value"] = str(item) if item != None else None
info["value"] = str(item) if item is not None else None
out.append(info)
return { "ui": { "items": out, "length": [len(anything)] } }