mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-10-12 23:47:22 +08:00
fix: remove unnecessary type ignore comment in misskey_adapter
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user