From 01aafc21ddc3a7c4591499e3502dbeba5f377d23 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Thu, 21 May 2026 19:08:45 +0800 Subject: [PATCH] fix: resolve circular import in updator.py --- astrbot/core/star/updator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/astrbot/core/star/updator.py b/astrbot/core/star/updator.py index 7fe16b234..b273708b1 100644 --- a/astrbot/core/star/updator.py +++ b/astrbot/core/star/updator.py @@ -2,11 +2,10 @@ import os import zipfile from astrbot.core import logger +from astrbot.core.star.star import StarMetadata from astrbot.core.utils.astrbot_path import get_astrbot_plugin_path from astrbot.core.utils.io import ensure_dir, remove_dir - -from ..star.star import StarMetadata -from ..updator import RepoZipUpdator +from astrbot.core.zip_updator import RepoZipUpdator class PluginUpdator(RepoZipUpdator):