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
2d74fc43
Commit
2d74fc43
authored
Jan 08, 2024
by
comfyanonymous
Browse files
Fix issue with user manager parent dir not being created.
parent
235727fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
app/user_manager.py
app/user_manager.py
+0
-1
No files found.
app/user_manager.py
View file @
2d74fc43
...
@@ -63,7 +63,6 @@ class UserManager():
...
@@ -63,7 +63,6 @@ class UserManager():
path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
user_root
,
file
))
path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
user_root
,
file
))
if
os
.
path
.
commonpath
((
user_root
,
path
))
!=
user_root
:
if
os
.
path
.
commonpath
((
user_root
,
path
))
!=
user_root
:
return
None
return
None
parent
=
os
.
path
.
join
(
path
,
os
.
pardir
)
if
create_dir
and
not
os
.
path
.
exists
(
parent
):
if
create_dir
and
not
os
.
path
.
exists
(
parent
):
os
.
mkdir
(
parent
)
os
.
mkdir
(
parent
)
...
...
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