mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
修复#69
This commit is contained in:
@@ -321,8 +321,10 @@ def export_all(format, path, datas):
|
|||||||
logger.log('INFOR', f'所有主域的子域结果 {path}')
|
logger.log('INFOR', f'所有主域的子域结果 {path}')
|
||||||
row_list = list()
|
row_list = list()
|
||||||
for row in datas:
|
for row in datas:
|
||||||
row.pop('header', d=None)
|
if 'header' in row:
|
||||||
row.pop('response', d=None)
|
row.pop('header')
|
||||||
|
if 'response' in row:
|
||||||
|
row.pop('response')
|
||||||
keys = row.keys()
|
keys = row.keys()
|
||||||
values = row.values()
|
values = row.values()
|
||||||
if format in {'xls', 'xlsx'}:
|
if format in {'xls', 'xlsx'}:
|
||||||
|
|||||||
Reference in New Issue
Block a user