From 44ca384dcede26c59fcff8b37a6abbb15c147e15 Mon Sep 17 00:00:00 2001 From: Ljzd-PRO <63289359+Ljzd-PRO@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:42:20 +0800 Subject: [PATCH] fix: fixed circular import Closes #88 --- ktoolbox/downloader/downloader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ktoolbox/downloader/downloader.py b/ktoolbox/downloader/downloader.py index 0500713..88a4c26 100644 --- a/ktoolbox/downloader/downloader.py +++ b/ktoolbox/downloader/downloader.py @@ -17,7 +17,8 @@ from ktoolbox._enum import RetCodeEnum from ktoolbox.configuration import config -from ktoolbox.downloader import DownloaderRet, filename_from_headers, duplicate_file_check +from ktoolbox.downloader.base import DownloaderRet +from ktoolbox.downloader.utils import filename_from_headers, duplicate_file_check from ktoolbox.utils import generate_msg __all__ = ["Downloader"]