Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
14d17783
Commit
14d17783
authored
Aug 21, 2016
by
DarkRedman
Committed by
GitHub
Aug 21, 2016
Browse files
Update binder.py
I fixed `urllib.urlencode` to `urlencode` in line 135
parent
0be8ae9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/binder.py
View file @
14d17783
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment