Skip to content

Commit 27ffd12

Browse files
authored
add indent=4 kwarg to json.dumps() (#10307)
1 parent e693e4d commit 27ffd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_extras/nodes_preview_any.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def main(self, source=None):
2525
value = str(source)
2626
elif source is not None:
2727
try:
28-
value = json.dumps(source)
28+
value = json.dumps(source, indent=4)
2929
except Exception:
3030
try:
3131
value = str(source)

0 commit comments

Comments
 (0)