mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-14 18:28:32 +02:00
take out old line of code
This commit is contained in:
parent
dda61296e5
commit
11605af458
1 changed files with 0 additions and 1 deletions
|
@ -27,7 +27,6 @@ class Jrnlv1Encryption(BasePasswordEncryption):
|
||||||
).decryptor()
|
).decryptor()
|
||||||
try:
|
try:
|
||||||
plain_padded = decryptor.update(cipher) + decryptor.finalize()
|
plain_padded = decryptor.update(cipher) + decryptor.finalize()
|
||||||
# self._password = password
|
|
||||||
if plain_padded[-1] in (" ", 32):
|
if plain_padded[-1] in (" ", 32):
|
||||||
# Ancient versions of jrnl. Do not judge me.
|
# Ancient versions of jrnl. Do not judge me.
|
||||||
return plain_padded.decode(self._encoding).rstrip(" ")
|
return plain_padded.decode(self._encoding).rstrip(" ")
|
||||||
|
|
Loading…
Add table
Reference in a new issue