🎨 Use join instead of +

This commit is contained in:
Nikhil Badyal
2023-08-10 21:43:07 +05:30
parent 51c4983b71
commit f599c370c5
+9 -7
View File
@@ -27,13 +27,15 @@ def update_changelog(name: str, response: Dict[str, str]) -> None:
publish_time = f"**Published at** -<br> {response['published_at']}"
footer = f"<br><sub>Change logs generated by [Docker Py Revanced]({parent_repo})</sub>\n"
collapse_end = "</details>"
change_log = (
collapse_start
+ release_version
+ change_log
+ publish_time
+ footer
+ collapse_end
change_log = "".join(
[
collapse_start,
release_version,
change_log,
publish_time,
footer,
collapse_end,
]
)
file1.write(change_log)