diff --git a/jrnl/encryption/__init__.py b/jrnl/encryption/__init__.py index f0cb30e4..56e36c2c 100644 --- a/jrnl/encryption/__init__.py +++ b/jrnl/encryption/__init__.py @@ -17,7 +17,7 @@ class EncryptionMethods(str, Enum): JRNLV2 = "Jrnlv2Encryption" -def determine_encryption_method(config: str | bool) -> BaseEncryption: +def determine_encryption_method(config: str | bool) -> "BaseEncryption": ENCRYPTION_METHODS = { True: EncryptionMethods.JRNLV2, # the default False: EncryptionMethods.NONE,