Skip to content

Commit

Permalink
[ENH] minor comments in database download to capture 429 error
Browse files Browse the repository at this point in the history
  • Loading branch information
dutta-alankar committed Apr 28, 2024
1 parent 34e4094 commit 7b87f41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astro_plasma/core/download_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@


def fetch_list_from_url(link_list_url: str) -> List[str]:
# print(link_list_url)
response = requests.get(link_list_url, stream=True)
# print(response)
links = response.content.decode("utf-8").split("\n")
return links

Expand Down

0 comments on commit 7b87f41

Please sign in to comment.