Don't reset session in APIMethod
authorAaron Hill <aa1ronham@gmail.com>
Wed, 14 May 2014 22:27:08 +0000 (18:27 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Wed, 14 May 2014 22:27:18 +0000 (18:27 -0400)
tweepy/binder.py

index 4997cf631a2c7bee57076581ba9d608fa94e4523..7a9cef91009923dab9eb8141d1a7abda0d39a785 100644 (file)
@@ -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: