Commit f32fe695 authored by Joshua's avatar Joshua
Browse files

Fix a bug that caused list methods to fail.

parent e70a29c7
......@@ -92,11 +92,12 @@ def bind_api(**config):
value = urllib.quote(self.parameters[name])
self.path = self.path.replace(variable, value)
except KeyError:
raise TweepError('No parameter value found for path variable: %s' % name)
del self.parameters[name]
self.path = self.path.replace(variable, value)
def execute(self):
# Build the request URL
url = self.api_root + self.path
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment