Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
the above one applies to this too
  • Loading branch information
zmoon authored Jan 29, 2024
1 parent b6dd1ce commit 7868dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uscrn/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def get_year_urls(year):
# Get filenames from the year page
# e.g. `>CRND0103-2020-TX_Palestine_6_WNW.txt<`
url = f"{base_url}/{year}/"
r = requests.get(url, timeout=10) # TODO: could cache this info like the docs
r = requests.get(url, timeout=10)
r.raise_for_status()
fns = re.findall(r">(CRN[a-zA-Z0-9\-_]*\.txt)<", r.text)
if not fns: # pragma: no cover
Expand Down

0 comments on commit 7868dd0

Please sign in to comment.