From c96b8bd3b98be88e57744f66805cc702bb96efc1 Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Wed, 16 Jun 2010 01:36:04 -0500 Subject: [PATCH] Ignore any arguments that are None. Fixes issues #33 --- tweepy/binder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tweepy/binder.py b/tweepy/binder.py index b7ad993..731ab62 100644 --- a/tweepy/binder.py +++ b/tweepy/binder.py @@ -67,6 +67,8 @@ def bind_api(**config): def build_parameters(self, args, kargs): self.parameters = {} for idx, arg in enumerate(args): + if arg is None: + continue try: self.parameters[self.allowed_param[idx]] = convert_to_utf8_str(arg) -- 2.25.1