truncate mods added on changelog
This commit is contained in:
parent
bfddb30a91
commit
1f0f6f0efa
|
@ -221,6 +221,9 @@ def generate_summary():
|
||||||
change_log = ""
|
change_log = ""
|
||||||
for date, items in changes.items():
|
for date, items in changes.items():
|
||||||
change_log += f"<i>{date}</i><ul>"
|
change_log += f"<i>{date}</i><ul>"
|
||||||
|
if len(items) > 10:
|
||||||
|
change_log += f"<li>{len(items)} mods added</li>"
|
||||||
|
else:
|
||||||
for item in items:
|
for item in items:
|
||||||
change_log += f"<li>{item}</li>"
|
change_log += f"<li>{item}</li>"
|
||||||
change_log += "</ul>"
|
change_log += "</ul>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user