Fixed typo in 'get_storage_directory' function.

pull/35/head
Murtuza Zabuawala 2020-09-17 20:15:42 +05:30 committed by Akshay Joshi
parent ae4924995a
commit 9e69e13468
1 changed files with 1 additions and 1 deletions

View File

@ -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')\