From f554529940815ebf0c51c1981eccca95f82985e5 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Mon, 23 Mar 2026 12:49:23 +0800 Subject: [PATCH] fix: remove unnecessary type ignore comment in misskey_adapter --- astrbot/core/platform/sources/misskey/misskey_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/platform/sources/misskey/misskey_adapter.py b/astrbot/core/platform/sources/misskey/misskey_adapter.py index aae986f3a..633d387ff 100644 --- a/astrbot/core/platform/sources/misskey/misskey_adapter.py +++ b/astrbot/core/platform/sources/misskey/misskey_adapter.py @@ -543,7 +543,7 @@ class MisskeyPlatformAdapter(Platform): for r in results: if not r: continue - if isinstance(r, dict) and r.get("fallback_url"): # type: ignore[assignment] + if isinstance(r, dict): url = r.get("fallback_url") if url: fallback_urls.append(str(url))