diff --git a/reqtools/sessions.py b/reqtools/sessions.py index d78521b..5203b55 100644 --- a/reqtools/sessions.py +++ b/reqtools/sessions.py @@ -18,8 +18,7 @@ def __init__(self, base_url: str, *, prefix: str = None, request_timeout: int = self._base_url = base_url self._prefix = prefix - if request_timeout: - self._request_timeout = request_timeout + self._request_timeout = request_timeout def __repr__(self): return f'{self.__class__.__name__}({self.url})'