lastpass-python
lastpass-python copied to clipboard
AttributeError: 'list' object has no attribute 'id'
Is there an updated version of this module?
I'm on MacOSX, Python 3.7.7.
Received the AttributeError message using the simple Python example provided.
? What's going on here ?
Thanks,
coding: utf-8
import lastpass
vault = lastpass.Vault.open_remote(username, password)
entryNumber = 0
for anEntry in vault.accounts, entryNumber in range(20):
print("{} {} {} {} {} {} {} {} {}".format(entryNumber + 1, anEntry.id, anEntry.name, anEntry.username, anEntry.password, anEntry.url, anEntry.group, anE
ntry.notes))