Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix issue with user manager parent dir not being created.

comfyanonymous2d74fc436058
diff --git a/app/user_manager.py b/app/user_manager.py
index 5a1031744..75485ee42 100644
--- a/app/user_manager.py
+++ b/app/user_manager.py
@@ -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)