Fix getting password
This commit is contained in:
parent
44e8e8dac4
commit
182fef1355
2
item.py
2
item.py
@ -29,7 +29,7 @@ class Item:
|
||||
return self.item['login']['username'] if self.item['login']['username'] else ''
|
||||
|
||||
def get_password(self) -> str:
|
||||
if 'password' not in self.item:
|
||||
if 'login' not in self.item:
|
||||
return ''
|
||||
|
||||
return self.item['login']['password'] if self.item['login']['password'] else ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user