truncate mods added on changelog

This commit is contained in:
iou1name 2019-06-03 19:17:49 -04:00
parent bfddb30a91
commit 1f0f6f0efa

View File

@ -221,8 +221,11 @@ def generate_summary():
change_log = ""
for date, items in changes.items():
change_log += f"<i>{date}</i><ul>"
for item in items:
change_log += f"<li>{item}</li>"
if len(items) > 10:
change_log += f"<li>{len(items)} mods added</li>"
else:
for item in items:
change_log += f"<li>{item}</li>"
change_log += "</ul>"
mod_table = ""