diff --git a/cope2n-api/fwd_api/utils/file.py b/cope2n-api/fwd_api/utils/file.py index 17d22ee..04eb5ce 100644 --- a/cope2n-api/fwd_api/utils/file.py +++ b/cope2n-api/fwd_api/utils/file.py @@ -363,9 +363,6 @@ def dict2xlsx(input: json, _type='report'): normal_cell = NamedStyle(name="normal_cell", font=font_black, 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': wb = load_workbook(filename = 'report.xlsx') ws = wb['Sheet1'] @@ -409,7 +406,7 @@ def dict2xlsx(input: json, _type='report'): 'N': "ocr_processing_time", 'O': "is_reviewed", 'P': "bad_image_reasons", - 'R': "countermeasures", + 'Q': "countermeasures", } start_index = 4