mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 08:39:59 +08:00
Update data_source.py
This commit is contained in:
@@ -41,7 +41,7 @@ async def get_setu_urls(
|
||||
url, timeout=Config.get_config("send_setu", "TIMEOUT"), params=params
|
||||
)
|
||||
if response.status_code == 200:
|
||||
data = await response.json()
|
||||
data = response.json()
|
||||
if not data["error"]:
|
||||
data = data["data"]
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user