From 27c172cda9a1f98a3c0823107a24e957a52dd9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <> Date: Tue, 14 Jan 2025 11:52:16 +0100 Subject: [PATCH] Fix: Avoid crash in 'about attrib' call when iterating through errors list if a rendering error previously occured. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Signed-off-by: André <98451428+arex-ebee@users.noreply.github.com> --- src/attributecode/attrib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attributecode/attrib.py b/src/attributecode/attrib.py index b22c6d93..f19f0035 100644 --- a/src/attributecode/attrib.py +++ b/src/attributecode/attrib.py @@ -329,7 +329,7 @@ def generate_and_save(abouts, is_about_input, license_dict, output_location, sca ) if rendering_error: - errors.append(rendering_error) + errors.extend(rendering_error) if rendered: output_location = add_unc(output_location)