diff --git a/handlers.py b/handlers.py index ca6d916..64aa040 100644 --- a/handlers.py +++ b/handlers.py @@ -415,7 +415,6 @@ def _batch(self, args, out, name = None, db = None, collection = None): method = "GET" if 'method' in request: method = request['method'] - print "method? "+method db = None if 'db' in request: @@ -426,8 +425,11 @@ def _batch(self, args, out, name = None, db = None, collection = None): collection = request['collection'] args = {} + name = None if 'args' in request: args = request['args'] + if 'name' in args: + name = args['name'] if method == "POST": args = MongoFakeFieldStorage(args)