take out old line of code

This commit is contained in:
Jonathan Wren 2022-10-29 15:02:16 -07:00
parent dda61296e5
commit 11605af458
No known key found for this signature in database

View file

@ -27,7 +27,6 @@ class Jrnlv1Encryption(BasePasswordEncryption):
).decryptor()
try:
plain_padded = decryptor.update(cipher) + decryptor.finalize()
# self._password = password
if plain_padded[-1] in (" ", 32):
# Ancient versions of jrnl. Do not judge me.
return plain_padded.decode(self._encoding).rstrip(" ")