mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
typos
This commit is contained in:
+3
-3
@@ -47,7 +47,7 @@ def update_data(data, infos):
|
|||||||
else:
|
else:
|
||||||
items['resolve'] = 0
|
items['resolve'] = 0
|
||||||
items['alive'] = 0
|
items['alive'] = 0
|
||||||
items['reason'] = 'NORECORD'
|
items['reason'] = 'NoResult'
|
||||||
data[index] = items
|
data[index] = items
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ def deal_output(output_path):
|
|||||||
if 'answers' not in data:
|
if 'answers' not in data:
|
||||||
info['alive'] = 0
|
info['alive'] = 0
|
||||||
info['resolve'] = 0
|
info['resolve'] = 0
|
||||||
info['reason'] = 'NOANSWER'
|
info['reason'] = 'NoAnswer'
|
||||||
infos[qname] = info
|
infos[qname] = info
|
||||||
continue
|
continue
|
||||||
flag = False
|
flag = False
|
||||||
@@ -146,7 +146,7 @@ def deal_output(output_path):
|
|||||||
if not flag:
|
if not flag:
|
||||||
info['alive'] = 0
|
info['alive'] = 0
|
||||||
info['resolve'] = 0
|
info['resolve'] = 0
|
||||||
info['reason'] = 'NOARECORD'
|
info['reason'] = 'NoARecord'
|
||||||
infos[qname] = info
|
infos[qname] = info
|
||||||
return infos
|
return infos
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user