From d93b48cded90fa28454e6ec068a3eb56658b2de5 Mon Sep 17 00:00:00 2001 From: Michael Helmick Date: Thu, 17 May 2012 12:22:37 -0400 Subject: [PATCH] 2.1.0 Release Set `self.auth` = None so that calls (like searching or getting a profile avatar don't error out) Fixes 90 --- twython/twython.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twython/twython.py b/twython/twython.py index a6671e4..ea52292 100644 --- a/twython/twython.py +++ b/twython/twython.py @@ -145,6 +145,7 @@ class Twython(object): self.headers = {'User-agent': 'Twython Python Twitter Library v' + __version__} self.client = None + self.auth = None if self.app_key is not None and self.app_secret is not None: self.auth = OAuth1(self.app_key, self.app_secret,