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']}"
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user