Skip to content

Commit 01aafc2

Browse files
committed
fix: resolve circular import in updator.py
1 parent 0b4cf94 commit 01aafc2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

astrbot/core/star/updator.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
import zipfile
33

44
from astrbot.core import logger
5+
from astrbot.core.star.star import StarMetadata
56
from astrbot.core.utils.astrbot_path import get_astrbot_plugin_path
67
from astrbot.core.utils.io import ensure_dir, remove_dir
7-
8-
from ..star.star import StarMetadata
9-
from ..updator import RepoZipUpdator
8+
from astrbot.core.zip_updator import RepoZipUpdator
109

1110

1211
class PluginUpdator(RepoZipUpdator):

0 commit comments

Comments
 (0)