mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix an issue where adding a sub-folder inside a folder is not working as expected. #6544
This commit is contained in:
parent
a08714cd65
commit
16a0950f63
@ -947,6 +947,8 @@ class Filemanager():
|
||||
new_name = name
|
||||
count = 0
|
||||
while True:
|
||||
if not (path.endswith("/") or name.startswith("/")):
|
||||
path = path + "/"
|
||||
file_path = "{}{}/".format(path, new_name)
|
||||
create_path = file_path
|
||||
if in_dir != "":
|
||||
|
Loading…
Reference in New Issue
Block a user