mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +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