Skip to content

Commit

Permalink
Added timeout=timeout in wcsBase.py L 49, otherwise the timeout valu…
Browse files Browse the repository at this point in the history
…e was being re-written to the default of 30 seconds. (#914)
  • Loading branch information
WrenRaming authored Apr 4, 2024
1 parent 71e64bd commit b26a8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owslib/coverage/wcsBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __new__(self, url, xml, cookies, auth=None, timeout=30, headers=None):
@return: inititalised WCSBase object
"""
obj = object.__new__(self)
obj.__init__(url, xml, cookies, auth=auth, headers=headers)
obj.__init__(url, xml, cookies, timeout=timeout, auth=auth, headers=headers)
self.cookies = cookies
self.headers = headers
self.timeout = timeout
Expand Down

0 comments on commit b26a8b2

Please sign in to comment.