From 2d74fc436058c98e5182d2123700ae244ccbe037 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Mon, 8 Jan 2024 17:08:00 -0500 Subject: [PATCH] Fix issue with user manager parent dir not being created. --- app/user_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/user_manager.py b/app/user_manager.py index 5a103174..75485ee4 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)