From 9e69e134687eb66e6e813fc0cf0f8ea2730e43a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murtuza=20Zabuawala=C2=A0?= Date: Thu, 17 Sep 2020 20:15:42 +0530 Subject: [PATCH] Fixed typo in 'get_storage_directory' function. --- web/pgadmin/utils/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/utils/paths.py b/web/pgadmin/utils/paths.py index 30bbcfa47..04522528b 100644 --- a/web/pgadmin/utils/paths.py +++ b/web/pgadmin/utils/paths.py @@ -37,7 +37,7 @@ def get_storage_directory(): def _preprocess_username(un): ret_un = un if len(ret_un) == 0 or ret_un[0].isdigit(): - ret_un = 'pga_user_' + username + ret_un = 'pga_user_' + un ret_un = ret_un.replace('@', '_')\ .replace('/', 'slash')\