From a178a1c02adbce28fc06970f62310c941f121285 Mon Sep 17 00:00:00 2001 From: Philippe Le Van Date: Wed, 22 Jan 2025 17:57:20 +0100 Subject: [PATCH] fix ruff --- lotemplate/CalcTemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotemplate/CalcTemplate.py b/lotemplate/CalcTemplate.py index d47f91e..ba6a7e6 100644 --- a/lotemplate/CalcTemplate.py +++ b/lotemplate/CalcTemplate.py @@ -92,7 +92,7 @@ def search_error(self, json_vars: dict[str, dict[str, Union[str, list[str]]]]) - self.close() raise errors.JsonComparaisonError( 'missing_required_variable', - f"There is one or more missing variables in the json", + f"There is one or more missing variables in the json {repr(notdiff)}", {"error" : repr(notdiff)} )