lastpass-python icon indicating copy to clipboard operation
lastpass-python copied to clipboard

AttributeError: 'list' object has no attribute 'id'

Open cyberchucktx opened this issue 5 years ago • 0 comments

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))

cyberchucktx avatar Aug 28 '20 15:08 cyberchucktx