Fix formatting issue
This commit is contained in:
parent
2ed5c5b588
commit
91d3795a92
@ -168,8 +168,9 @@ class Portfolio(
|
|||||||
ppoc = self.owner
|
ppoc = self.owner
|
||||||
user_id = f"{ppoc.first_name[0]}{ppoc.last_name}".lower()
|
user_id = f"{ppoc.first_name[0]}{ppoc.last_name}".lower()
|
||||||
|
|
||||||
domain_name = re.sub("[^0-9a-zA-Z]+", "", self.name).lower() + \
|
domain_name = re.sub("[^0-9a-zA-Z]+", "", self.name).lower() + "".join(
|
||||||
''.join(choices(ascii_lowercase + digits, k=4))
|
choices(ascii_lowercase + digits, k=4)
|
||||||
|
)
|
||||||
portfolio_data = {
|
portfolio_data = {
|
||||||
"user_id": user_id,
|
"user_id": user_id,
|
||||||
"password": "",
|
"password": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user