Skip to content

Commit

Permalink
Fix cumulative nation counting
Browse files Browse the repository at this point in the history
  • Loading branch information
AavHRF committed Apr 10, 2023
1 parent 6cc8954 commit 2ac1e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyglass.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]}")

Expand Down

0 comments on commit 2ac1e17

Please sign in to comment.