mirror of
https://github.com/walkxhub/dashboard-icons.git
synced 2025-12-06 05:26:58 -05:00
🐛 Fix bug in sucky python script
This commit is contained in:
parent
dc8a1e5987
commit
ce06352452
@ -23,7 +23,7 @@ for line in lines:
|
|||||||
line_number = lines.index(line)
|
line_number = lines.index(line)
|
||||||
break
|
break
|
||||||
# Insert the icons after the line
|
# 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
|
# Write the new file
|
||||||
with open(readme_path, "w", encoding="UTF-8") as f:
|
with open(readme_path, "w", encoding="UTF-8") as f:
|
||||||
f.write("".join(lines))
|
f.write("".join(lines))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user