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
314d28c2
Commit
314d28c2
authored
Mar 07, 2024
by
comfyanonymous
Browse files
Pass extra_pnginfo as None when not in input data.
parent
55f37baa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
execution.py
execution.py
+1
-2
No files found.
execution.py
View file @
314d28c2
...
...
@@ -35,8 +35,7 @@ def get_input_data(inputs, class_def, unique_id, outputs={}, prompt={}, extra_da
if
h
[
x
]
==
"PROMPT"
:
input_data_all
[
x
]
=
[
prompt
]
if
h
[
x
]
==
"EXTRA_PNGINFO"
:
if
"extra_pnginfo"
in
extra_data
:
input_data_all
[
x
]
=
[
extra_data
[
'extra_pnginfo'
]]
input_data_all
[
x
]
=
[
extra_data
.
get
(
'extra_pnginfo'
,
None
)]
if
h
[
x
]
==
"UNIQUE_ID"
:
input_data_all
[
x
]
=
[
unique_id
]
return
input_data_all
...
...
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