diff --git a/Makefile b/Makefile index 7d9aa2652..eba9d73d2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Makefile for setting up a virtual enviroment and running the application. -.PHONY: install dependencies install_libxmlsec1 +.PHONY: install dependencies install_libxmlsec1 # SECTION 1: Install dependencies diff --git a/README.md b/README.md index 574fb6b24..52cd76f31 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" ``` + and source it with: ```shell diff --git a/api/odl.py b/api/odl.py index 1dbf461ae..a7789d2c4 100644 --- a/api/odl.py +++ b/api/odl.py @@ -253,7 +253,9 @@ def _get(self, url: str, headers: dict[str, str] | None = None) -> Response: auth_header = "Basic %s" % base64.b64encode(f"{username}:{password}") headers["Authorization"] = auth_header - return HTTP.get_with_timeout(url, headers=headers) + return HTTP.get_with_timeout( + url, headers=headers, timeout=30 + ) # Added a bigger timeout for loan checkouts def _url_for(self, *args: Any, **kwargs: Any) -> str: """Wrapper around flask's url_for to be overridden for tests."""