Skip to content

Commit 08c689c

Browse files
authored
Improve Encryption Method enum (#9)
1 parent 2488170 commit 08c689c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

sagemcom_api/enums.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44

55

66
class EncryptionMethod(Enum):
7-
"""TODO."""
7+
"""Encryption method defining the password hash."""
88

9-
def __str__(self):
10-
"""TODO."""
11-
return str(self.value)
12-
13-
MD5 = "md5"
14-
SHA512 = "sha512"
15-
UNKNOWN = "unknown"
9+
MD5 = "MD5"
10+
SHA512 = "SHA512"

0 commit comments

Comments
 (0)