Skip to content

Commit 27c172c

Browse files
Andréarex-ebee
authored andcommitted
Fix: Avoid crash in 'about attrib' call when iterating through errors list if a rendering error previously occured.
Signed-off-by: André <[email protected]> Signed-off-by: André <[email protected]>
1 parent 01c7490 commit 27c172c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributecode/attrib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def generate_and_save(abouts, is_about_input, license_dict, output_location, sca
329329
)
330330

331331
if rendering_error:
332-
errors.append(rendering_error)
332+
errors.extend(rendering_error)
333333

334334
if rendered:
335335
output_location = add_unc(output_location)

0 commit comments

Comments
 (0)