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