Skip to content

Commit

Permalink
Merge pull request #1 from rephorm/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
konomae committed Dec 28, 2013
2 parents ceb0422 + bf1e94e commit c78bd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lastpass/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _decode_aes256(self, data):
return self._decode_aes256_ecb_base64(data)
elif length16 == 1:
return self._decode_aes256_cbc_plain(data)
elif length64 == 6 or length64 == 26 or length64 or 50:
elif length64 == 6 or length64 == 26 or length64 == 50:
return self._decode_aes256_cbc_base64(data)
else:
raise RuntimeError("'{}' doesn't seem to be AES-256 encrypted".format(repr(data)))
Expand Down

0 comments on commit c78bd7c

Please sign in to comment.