fix: remove unnecessary type ignore comment in misskey_adapter

This commit is contained in:
LIghtJUNction
2026-03-23 12:49:23 +08:00
parent f55016bcb2
commit f554529940

View File

@@ -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))