From: Aaron Hill Date: Wed, 14 May 2014 22:27:08 +0000 (-0400) Subject: Don't reset session in APIMethod X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=828144f8f1140ee03a4813beaea83406166541fc;p=tweepy.git Don't reset session in APIMethod --- diff --git a/tweepy/binder.py b/tweepy/binder.py index 4997cf6..7a9cef9 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -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: