mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-13 01:48:31 +02:00
fix for python 3.11
This commit is contained in:
parent
ce4df8ee23
commit
e695e7a30c
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ from .BaseEncryption import BaseEncryption
|
||||||
|
|
||||||
|
|
||||||
class EncryptionMethods(str, Enum):
|
class EncryptionMethods(str, Enum):
|
||||||
|
def __str__(self) -> str:
|
||||||
|
return self.value
|
||||||
|
|
||||||
NONE = "NoEncryption"
|
NONE = "NoEncryption"
|
||||||
JRNLV1 = "Jrnlv1Encryption"
|
JRNLV1 = "Jrnlv1Encryption"
|
||||||
JRNLV2 = "Jrnlv2Encryption"
|
JRNLV2 = "Jrnlv2Encryption"
|
||||||
|
|
Loading…
Add table
Reference in a new issue