Add username in mbr brut list

This commit is contained in:
poka 2021-08-28 03:11:11 +02:00
parent e8aa6723ee
commit 53cbdfe982
1 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,10 @@ class ListWallets:
if (self.brut):
names = []
for dataWork in walletList:
names.append(dataWork["pubkey"])
if (self.mbr):
names.append(dataWork['pubkey'] + ' ' + dataWork['id']['username'])
else:
names.append(dataWork['pubkey'])
return "\n".join(names)
else: