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
ff255d9d
"...ldm/git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "af291e6f69a66bce6460de58e6e9328f48640dd5"
Commit
ff255d9d
authored
Mar 14, 2023
by
comfyanonymous
Browse files
Make sure windows permission issues don't mess things up.
parent
815fefc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.py
main.py
+1
-1
No files found.
main.py
View file @
ff255d9d
...
...
@@ -57,7 +57,7 @@ def hijack_progress(server):
def
cleanup_temp
():
temp_dir
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"temp"
)
if
os
.
path
.
exists
(
temp_dir
):
shutil
.
rmtree
(
temp_dir
)
shutil
.
rmtree
(
temp_dir
,
ignore_errors
=
True
)
if
__name__
==
"__main__"
:
cleanup_temp
()
...
...
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