Commit 828144f8 authored by Aaron Hill's avatar Aaron Hill
Browse files

Don't reset session in APIMethod

parent f326c11d
......@@ -181,7 +181,6 @@ def bind_api(**config):
time.sleep(retry_delay)
retries_performed += 1
self.session = requests.Session()
# If an error was returned, throw an exception
self.api.last_response = resp
if resp.status_code and not 200 <= resp.status_code < 300:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment