Fix issue with user manager parent dir not being created.

This commit is contained in:
comfyanonymous 2024-01-08 17:08:00 -05:00
parent 235727fed7
commit 2d74fc4360
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ class UserManager():
path = os.path.abspath(os.path.join(user_root, file))
if os.path.commonpath((user_root, path)) != user_root:
return None
parent = os.path.join(path, os.pardir)
if create_dir and not os.path.exists(parent):
os.mkdir(parent)