diff options
| author | 2024-01-16 22:12:22 +0800 | |
|---|---|---|
| committer | 2024-01-16 22:12:22 +0800 | |
| commit | 23755e874b75f65f332cc00c3cc0c96da33dfb87 (patch) | |
| tree | 96c7cd57b988430a13582867508221de536cccf0 /src | |
| parent | d80a061e046d80951e9056cc710f388257f9b6c1 (diff) | |
| download | ipm-23755e874b75f65f332cc00c3cc0c96da33dfb87.tar.gz ipm-23755e874b75f65f332cc00c3cc0c96da33dfb87.zip | |
:rocket: fix(init): fix a bug with cyclic import
Diffstat (limited to 'src')
| -rw-r--r-- | src/ipm/utils/loader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipm/utils/loader.py b/src/ipm/utils/loader.py index ccbf47a..297b0c0 100644 --- a/src/ipm/utils/loader.py +++ b/src/ipm/utils/loader.py @@ -1,5 +1,5 @@ from pathlib import Path -from ..api import extract +from .freeze import extract_ipk from ..const import HOME import requests @@ -21,5 +21,5 @@ def load(name: str, baseurl: str = "", filename: str = "") -> None: hash_file.write(hash_bytes) hash_file.close() - extract(ipk_file, HOME) + extract_ipk(ipk_file, HOME) temp_dir.cleanup() |
