Commit c96b8bd3 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Ignore any arguments that are None.

Fixes issues #33
parent 6c44d22e
......@@ -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:
self.parameters[self.allowed_param[idx]] = convert_to_utf8_str(arg)
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