🐛 Fix bug in sucky python script

This commit is contained in:
Bjorn Lammers 2022-05-26 13:40:21 +02:00 committed by GitHub
parent dc8a1e5987
commit ce06352452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ for line in lines:
line_number = lines.index(line)
break
# Insert the icons after the line
lines.insert(line_number + 1, "\n".join(img_tags))
lines.insert(line_number + 1, " ".join(img_tags))
# Write the new file
with open(readme_path, "w", encoding="UTF-8") as f:
f.write("".join(lines))