We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca35039 commit 6548e80Copy full SHA for 6548e80
fmriprep/cli/_version.py
@@ -38,7 +38,7 @@ def check_latest():
38
39
if latest is None or outdated is True:
40
try:
41
- response = requests.get(url='https://pypi.org/pypi/fmriprep/json')
+ response = requests.get(url='https://pypi.org/pypi/fmriprep/json', timeout=1.0)
42
except Exception:
43
pass
44
@@ -65,7 +65,7 @@ def is_flagged():
65
flagged = tuple()
66
67
response = requests.get(url="""\
68
-https://raw.githubusercontent.com/poldracklab/fmriprep/master/.versions.json""")
+https://raw.githubusercontent.com/poldracklab/fmriprep/master/.versions.json""", timeout=1.0)
69
70
71
0 commit comments