Browse Source

Fix issue with user manager parent dir not being created.

pull/2501/head
comfyanonymous 10 months ago
parent
commit
2d74fc4360
  1. 1
      app/user_manager.py

1
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)

Loading…
Cancel
Save