mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
恢复
This commit is contained in:
+4
-2
@@ -47,9 +47,11 @@ def update_data(data, infos):
|
|||||||
record = infos.get(subdomain)
|
record = infos.get(subdomain)
|
||||||
if record:
|
if record:
|
||||||
items.update(record)
|
items.update(record)
|
||||||
data[index] = items
|
|
||||||
else:
|
else:
|
||||||
data.pop(index)
|
items['resolve'] = 0
|
||||||
|
items['alive'] = 0
|
||||||
|
items['reason'] = 'NoResult'
|
||||||
|
data[index] = items
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user