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
1d9ec62c
"vscode:/vscode.git/clone" did not exist on "5b4e3127494674e9a3f2e668e8fb49b278e079a9"
Commit
1d9ec62c
authored
Feb 09, 2023
by
comfyanonymous
Browse files
Use absolute output directory path.
parent
05d571fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nodes.py
nodes.py
+1
-1
No files found.
nodes.py
View file @
1d9ec62c
...
...
@@ -502,7 +502,7 @@ class SaveImage:
if
extra_pnginfo
is
not
None
:
for
x
in
extra_pnginfo
:
metadata
.
add_text
(
x
,
json
.
dumps
(
extra_pnginfo
[
x
]))
img
.
save
(
f
"output/
{
filename_prefix
}
_
{
counter
:
05
}
_.png"
,
pnginfo
=
metadata
,
optimize
=
True
)
img
.
save
(
os
.
path
.
join
(
self
.
output_dir
,
f
"
{
filename_prefix
}
_
{
counter
:
05
}
_.png"
)
,
pnginfo
=
metadata
,
optimize
=
True
)
counter
+=
1
class
LoadImage
:
...
...
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