Closed esfalsa closed 1 year ago
Lol! I already have code changes staged locally for this with respect to #33, but I'm fine merging this in as it should realistically be patched ASAP as opposed to "whenever I finish other error handling."
Flagging for review, etc.
Currently, when run in non-interactive mode, Spyglass seems to skip over downloading the latest data dump if it doesn't already exist, which leads to a
FileNotFoundError
when it then tries togzip.open
that file. This PR automatically downloads the latest dump if none is found when Spyglass is run in non-interactive mode.I was going to file a bug report for this, but the code change turned out pretty small 😛. Also sorry if this steps on your toes with respect to daily dump download error handling (#33), though I think you were referring to handling errors with the download request/response, while this deals with errors with CLI arguments provided by the user?