Skip to content

Commit

Permalink
Download dump in CLI mode if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
esfalsa committed Apr 3, 2023
1 parent c95e282 commit 5869655
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 5869655

Please sign in to comment.