Skip to content

Commit

Permalink
[TRAVELQA-530] - fix: do not fail, if no request_timeout is set
Browse files Browse the repository at this point in the history
  • Loading branch information
frdha committed Feb 4, 2020
1 parent c4b000d commit 69d7a4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reqtools/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})'
Expand Down

0 comments on commit 69d7a4d

Please sign in to comment.