From f89ba302dadba65f349d007359e7824d503f2e81 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Thu, 14 Apr 2022 09:50:01 +0100 Subject: [PATCH] x --- my/core/kompress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/my/core/kompress.py b/my/core/kompress.py index f5724ad..2cf1db5 100644 --- a/my/core/kompress.py +++ b/my/core/kompress.py @@ -6,7 +6,7 @@ from __future__ import annotations import pathlib from pathlib import Path import sys -from typing import Union, IO, Sequence +from typing import Union, IO, Sequence, Any import io PathIsh = Union[Path, str] @@ -126,7 +126,7 @@ if sys.version_info[:2] >= (3, 8): ZipPathBase = zipfile.Path else: if typing.TYPE_CHECKING: - ZipPathBase = pathlib.Path + ZipPathBase = Any else: ZipPathBase = object