mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed typo in 'get_storage_directory' function.
This commit is contained in:
parent
ae4924995a
commit
9e69e13468
@ -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')\
|
||||
|
Loading…
Reference in New Issue
Block a user