Skip to content

Commit 2d74fc4

Browse files
Fix issue with user manager parent dir not being created.
1 parent 235727f commit 2d74fc4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/user_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def get_request_user_filepath(self, request, file, type="userdata", create_dir=T
6363
path = os.path.abspath(os.path.join(user_root, file))
6464
if os.path.commonpath((user_root, path)) != user_root:
6565
return None
66-
parent = os.path.join(path, os.pardir)
6766

6867
if create_dir and not os.path.exists(parent):
6968
os.mkdir(parent)

0 commit comments

Comments
 (0)