Skip to content

Commit 5e38f84

Browse files
author
André
committed
Fix: Avoid crash in 'about attrib' call when iterating through errors list if a rendering error previously occured.
1 parent 01c7490 commit 5e38f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributecode/attrib.py

+1-1
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)