Skip to content

Commit

Permalink
add timeout argument when using requests.get()
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-richard committed Nov 17, 2023
1 parent 72d5938 commit 0d355c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrfu/mms/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_data(

for file_name in file_names:
if from_sdc:
file = requests.get(file_name).content
file = requests.get(file_name, timeout=None).content
else:
file = os.path.normpath(file_name)

Expand Down

0 comments on commit 0d355c7

Please sign in to comment.