use Enum instead of StrEnum for python3.10

This commit is contained in:
Stefan Bühler 2023-05-02 16:32:02 +02:00
parent cd7cfe451c
commit 357b1ae9cb

View File

@ -14,7 +14,7 @@ from ldaptool._utils import argclasses
from ldaptool._utils.ldap import Result, SizeLimitExceeded from ldaptool._utils.ldap import Result, SizeLimitExceeded
class TableOutput(enum.StrEnum): class TableOutput(enum.Enum):
MARKDOWN = "markdown" MARKDOWN = "markdown"
CSV = "csv" CSV = "csv"
HTML = "html" HTML = "html"