Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
e2d080b6
Commit
e2d080b6
authored
May 25, 2023
by
space-nuko
Browse files
Return null for value format
parent
6b2a8a38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
execution.py
execution.py
+3
-1
No files found.
execution.py
View file @
e2d080b6
...
...
@@ -103,7 +103,9 @@ def get_output_data(obj, input_data_all):
return
output
,
ui
def
format_value
(
x
):
if
isinstance
(
x
,
(
int
,
float
,
bool
,
str
)):
if
x
is
None
:
return
None
elif
isinstance
(
x
,
(
int
,
float
,
bool
,
str
)):
return
x
else
:
return
str
(
x
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment