mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
🎨 Use join instead of +
This commit is contained in:
+9
-7
@@ -27,13 +27,15 @@ def update_changelog(name: str, response: Dict[str, str]) -> None:
|
|||||||
publish_time = f"**Published at** -<br> {response['published_at']}"
|
publish_time = f"**Published at** -<br> {response['published_at']}"
|
||||||
footer = f"<br><sub>Change logs generated by [Docker Py Revanced]({parent_repo})</sub>\n"
|
footer = f"<br><sub>Change logs generated by [Docker Py Revanced]({parent_repo})</sub>\n"
|
||||||
collapse_end = "</details>"
|
collapse_end = "</details>"
|
||||||
change_log = (
|
change_log = "".join(
|
||||||
collapse_start
|
[
|
||||||
+ release_version
|
collapse_start,
|
||||||
+ change_log
|
release_version,
|
||||||
+ publish_time
|
change_log,
|
||||||
+ footer
|
publish_time,
|
||||||
+ collapse_end
|
footer,
|
||||||
|
collapse_end,
|
||||||
|
]
|
||||||
)
|
)
|
||||||
file1.write(change_log)
|
file1.write(change_log)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user