Skip to content

Commit

Permalink
Merge pull request #36 from esfalsa/noninteractive-dump-donwload
Browse files Browse the repository at this point in the history
Download dump in CLI mode if not found
  • Loading branch information
AavHRF committed Apr 4, 2023
2 parents c95e282 + 5869655 commit 59d5313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spyglass.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ def sanitize(string: str) -> Optional[str]:
else:
download_dump(session)
logger.info("Download complete!")
else:
logger.info("No existing data dump found, downloading latest...")
download_dump(session)
logger.info("Download complete!")

# Get the lists of founderless and passwordless regions
logger.info("Getting founderless regions...")
Expand Down

0 comments on commit 59d5313

Please sign in to comment.