From 4b10315d888307b1af4699ab51114f4918d03188 Mon Sep 17 00:00:00 2001 From: Tatiana Korchuganova Date: Thu, 21 Nov 2024 11:20:17 +0100 Subject: [PATCH] report | fix typo errors --- core/reports/ErrorClassificationReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reports/ErrorClassificationReport.py b/core/reports/ErrorClassificationReport.py index 86fc9af6..6b2493c6 100644 --- a/core/reports/ErrorClassificationReport.py +++ b/core/reports/ErrorClassificationReport.py @@ -18,7 +18,7 @@ def __init__(self, query=None): query[timeparamname + '__castdate__range'] = query['modificationtime__castdate__range'] del query['modificationtime__castdate__range'] self.query_errors = copy.deepcopy(query) - self.extra_query = '(' + ' or '.join([f'({k["error"]} is not null and {k["error"]} > 0)' for k in list(const.JOB_ERROR_CATEGORIES)]) + ')' + self.extra_query = "(" + " or ".join([f"({k['error']} is not null and {k['error']} > 0)" for k in list(const.JOB_ERROR_CATEGORIES)]) + ")" self.jobs = [] _logger.debug(self.query_jobs, self.query_errors, self.extra_query)