修复#69

This commit is contained in:
Jing Ling
2020-04-22 01:05:12 +08:00
parent 30ae7ff21b
commit 358d2bc672
+4 -2
View File
@@ -321,8 +321,10 @@ def export_all(format, path, datas):
logger.log('INFOR', f'所有主域的子域结果 {path}')
row_list = list()
for row in datas:
row.pop('header', d=None)
row.pop('response', d=None)
if 'header' in row:
row.pop('header')
if 'response' in row:
row.pop('response')
keys = row.keys()
values = row.values()
if format in {'xls', 'xlsx'}: