diff --git a/alipcs_py/commands/server.py b/alipcs_py/commands/server.py index 6a37445..d541830 100644 --- a/alipcs_py/commands/server.py +++ b/alipcs_py/commands/server.py @@ -1,4 +1,12 @@ -from typing import Optional, Dict, Annotated, Any +import sys + +if sys.version_info > (3, 8): + from typing import Annotated +else: + from typing_extensions import Annotated + +from typing import Optional, Dict, Any + from pathlib import Path import os import mimetypes