mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
Fix issue with user manager parent dir not being created.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user