Skip to content

Commit

Permalink
Merge pull request #45 from AavHRF/fs-fx
Browse files Browse the repository at this point in the history
Fix cumulative nation counting
  • Loading branch information
AavHRF authored May 3, 2023
2 parents 95593ed + 305a1b9 commit f8b808d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spyglass.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def sanitize(string: str) -> Optional[str]:
# Get the lists of founderless and passwordless regions
logger.info("Getting founderless regions...")
fless = session.get(
"https://www.nationstates.net/cgi-bin/api.cgi?q=regionsbytag;tags=founderless"
"https://www.nationstates.net/cgi-bin/api.cgi?q=regionsbytag;tags=governorless"
).text.split(",")
logger.info("Getting passwordless regions...")
pless = session.get(
Expand Down Expand Up @@ -328,7 +328,7 @@ def sanitize(string: str) -> Optional[str]:
logger.info(f"Minor set to {minor}")

CumuNatList = [
0
0,
] # Per Devi, the first number needs to be zero so that the times reflect the start of update,
# not the end

Expand Down

0 comments on commit f8b808d

Please sign in to comment.