mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update data_source.py
This commit is contained in:
parent
d380a9aacc
commit
7acc6cf6af
@ -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"]
|
||||
(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user