From c6941a9e3f1f2c955f2025da81b98a99f574c50a Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Tue, 1 Oct 2024 08:56:24 +0200 Subject: [PATCH] workflo --- .forgejo/scripts/update-wiki.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/scripts/update-wiki.py b/.forgejo/scripts/update-wiki.py index 0f24cb1..f82ad34 100644 --- a/.forgejo/scripts/update-wiki.py +++ b/.forgejo/scripts/update-wiki.py @@ -50,7 +50,7 @@ for mod in glob.glob("pack/mods/*.toml"): with open("wiki/Modlist.md", "w") as f: if (count["server"] + count["client"] + count["both"]) == 0: f.write("## No mods.") - return + break f.write("## Total Count\r\n") f.write("") @@ -107,7 +107,7 @@ with open("wiki/Modlist.md", "w") as f: with open("wiki/Licenses.md", "w") as f: if (count["server"] + count["client"] + count["both"]) == 0: f.write("## No mods.") - return + break for mod in mods: data = mods[mod]