From: DarkRedman Date: Sun, 21 Aug 2016 10:44:26 +0000 (+0200) Subject: Update binder.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=14d17783f8534b28535c60bc1b2e1d0cceea5bce;p=tweepy.git Update binder.py I fixed `urllib.urlencode` to `urlencode` in line 135 --- diff --git a/tweepy/binder.py b/tweepy/binder.py index 018b22c..2e5803a 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -132,7 +132,7 @@ def bind_api(**config): # Query the cache if one is available # and this request uses a GET method. if self.use_cache and self.api.cache and self.method == 'GET': - cache_result = self.api.cache.get('%s?%s' % (url, urllib.urlencode(self.session.params))) + cache_result = self.api.cache.get('%s?%s' % (url, urlencode(self.session.params))) # if cache result found and not expired, return it if cache_result: # must restore api reference