python 10 compat

This commit is contained in:
sneakers-the-rat 2024-07-02 00:20:52 -07:00
parent 444ecbaf04
commit 38c7e9ebf8
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -8,7 +8,7 @@ import sys
from dataclasses import dataclass
from typing import ClassVar, List, Optional
if sys.version_info.minor < 11:
if sys.version_info.minor >= 11:
from enum import StrEnum
else:
from enum import Enum