Merge pull request #7 from cclauss/patch-1

Fix Python syntax error
This commit is contained in:
Login Securite 2021-10-11 11:38:07 +02:00 committed by GitHub
commit 7022147ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ class lastpass():
masterkey = self.get_masterkey(user=user, guid=guid, type='DOMAIN')
if masterkey != None:
if masterkey['status'] == 'decrypted':
mydpapi.options.key = masterkey['key'].
mydpapi.options.key = masterkey['key']
cred_data = mydpapi.decrypt_blob(entropy=string_to_bin('DE135B5F18A34670B2572429698898E6'))
if cred_data != None:
self.logging.debug(