From 196cb71beb7654795298caa149ceb4f82f54e118 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 8 Oct 2022 15:30:36 -0700 Subject: [PATCH] jrnlv1 encryption doesn't support encryption anymore (it's deprecated) --- jrnl/encryption/Jrnlv1Encryption.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/encryption/Jrnlv1Encryption.py b/jrnl/encryption/Jrnlv1Encryption.py index 14190230..1372c0f2 100644 --- a/jrnl/encryption/Jrnlv1Encryption.py +++ b/jrnl/encryption/Jrnlv1Encryption.py @@ -15,7 +15,7 @@ class Jrnlv1Encryption(BasePasswordEncryption): def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) - def _encrypt(self, text: str) -> bytes: + def _encrypt(self, _: str) -> bytes: raise NotImplementedError def _decrypt(self, text: bytes) -> str | None: