From 5c7a84748b0257c8b0be390b36ca836ed231a9a8 Mon Sep 17 00:00:00 2001 From: Duck <31627079+duckboycool@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:38:38 -0600 Subject: [PATCH] =?UTF-8?q?WebHost:=20Handle=20blank=20values=20for=20Opti?= =?UTF-8?q?onCounters=C2=A0#5517?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebHostLib/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/options.py b/WebHostLib/options.py index 3c63fa8c..2df2e64a 100644 --- a/WebHostLib/options.py +++ b/WebHostLib/options.py @@ -231,7 +231,7 @@ def generate_yaml(game: str): if key_parts[-1] == "qty": if key_parts[0] not in options: options[key_parts[0]] = {} - if val != "0": + if val and val != "0": options[key_parts[0]][key_parts[1]] = int(val) del options[key]