From 2ac1e17a38e3bfdda01a5a19526021c7eb67fbf9 Mon Sep 17 00:00:00 2001 From: Aav Date: Sun, 9 Apr 2023 22:15:01 -0700 Subject: [PATCH] Fix cumulative nation counting --- spyglass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyglass.py b/spyglass.py index f129ecd..20d60f7 100644 --- a/spyglass.py +++ b/spyglass.py @@ -334,7 +334,7 @@ def sanitize(string: str) -> Optional[str]: for region in regions: CumuNatList.append(CumuNatList[-1] + region["num_nations"]) - region.update({"cumu_nations": CumuNatList[-1] + region["num_nations"]}) + region.update({"cumu_nations": CumuNatList[-1]}) logger.info("Cumulative nation list created!") logger.info(f"Total number of nations: {CumuNatList[-1]}")