mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-11-01 14:55:52 +08:00
重构
This commit is contained in:
@@ -71,6 +71,9 @@ def resolve_callback(future, index, datas):
|
||||
if isinstance(answer, tuple):
|
||||
ips = answer[2]
|
||||
datas[index]['ips'] = str(ips)[1:-1]
|
||||
else:
|
||||
datas[index]['reason'] = str(answer)
|
||||
datas[index]['valid'] = 0
|
||||
|
||||
|
||||
async def bulk_query_a(datas):
|
||||
|
||||
Reference in New Issue
Block a user