From 5e402e747a80ab44d3085605c4e09219e664c6e6 Mon Sep 17 00:00:00 2001 From: Dariiiii Date: Thu, 4 Jul 2024 01:47:02 +0300 Subject: [PATCH] docx4 --- app/main/checks/report_checks/main_character_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main/checks/report_checks/main_character_check.py b/app/main/checks/report_checks/main_character_check.py index 69f3b745..7835cf44 100644 --- a/app/main/checks/report_checks/main_character_check.py +++ b/app/main/checks/report_checks/main_character_check.py @@ -10,12 +10,12 @@ class ReportMainCharacterCheck(BaseReportCriterion): id = "main_character_check" priority = True - def __init__(self, file_info): + def __init__(self, file_info, tables_count_to_verify=8): super().__init__(file_info) self.headers = [] self.first_check_list = None self.second_check_list = None - self.tables_count_to_verify = 8 + self.tables_count_to_verify = tables_count_to_verify def late_init(self): self.headers = self.file.make_headers(self.file_type['report_type'])