From 7fd765421f90f328427dd7b5e57c5a9618bcda79 Mon Sep 17 00:00:00 2001 From: anka <1350989414@qq.com> Date: Fri, 9 May 2025 09:58:37 +0000 Subject: [PATCH] fix: [File] remove unused tags "_downloaded" --- astrbot/core/message/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/message/components.py b/astrbot/core/message/components.py index 39a38f7b0..718fd30fb 100644 --- a/astrbot/core/message/components.py +++ b/astrbot/core/message/components.py @@ -583,7 +583,7 @@ class File(BaseMessageComponent): if self.file_ and os.path.exists(self.file_): return os.path.abspath(self.file_) - if self.url and not self._downloaded: + if self.url: try: loop = asyncio.get_event_loop() if loop.is_running():