update dict2xlsx
This commit is contained in:
parent
34cd161c41
commit
61a44d705d
@ -363,9 +363,6 @@ def dict2xlsx(input: json, _type='report'):
|
|||||||
normal_cell = NamedStyle(name="normal_cell", font=font_black, border=border)
|
normal_cell = NamedStyle(name="normal_cell", font=font_black, border=border)
|
||||||
normal_cell_red = NamedStyle(name="normal_cell_red", font=font_red, border=border)
|
normal_cell_red = NamedStyle(name="normal_cell_red", font=font_red, border=border)
|
||||||
|
|
||||||
wb = load_workbook(filename = 'report.xlsx')
|
|
||||||
ws = wb['Sheet1']
|
|
||||||
|
|
||||||
if _type == 'report':
|
if _type == 'report':
|
||||||
wb = load_workbook(filename = 'report.xlsx')
|
wb = load_workbook(filename = 'report.xlsx')
|
||||||
ws = wb['Sheet1']
|
ws = wb['Sheet1']
|
||||||
@ -409,7 +406,7 @@ def dict2xlsx(input: json, _type='report'):
|
|||||||
'N': "ocr_processing_time",
|
'N': "ocr_processing_time",
|
||||||
'O': "is_reviewed",
|
'O': "is_reviewed",
|
||||||
'P': "bad_image_reasons",
|
'P': "bad_image_reasons",
|
||||||
'R': "countermeasures",
|
'Q': "countermeasures",
|
||||||
}
|
}
|
||||||
start_index = 4
|
start_index = 4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user