diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index a1b8e1d3e0cf7d55bcbbbcb5ceba69e66e903415..ea3f2aeb538b68feae706a909bc3b068b90bb689 100644 --- a/bob/devtools/bootstrap.py +++ b/bob/devtools/bootstrap.py @@ -253,8 +253,9 @@ def ensure_miniconda_sh(): conn.request("GET", path) r1 = conn.getresponse() - assert ( - r1.status == 200 + assert r1.status in ( + 200, + 302, ), "Request for http://%s%s - returned status %d " "(%s)" % ( server[0], path,