From e8189636b3486a531076ece58cb64e2e9d7f1c7f Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Sun, 20 Jan 2013 00:14:02 +0100 Subject: [PATCH] again correct management of null id: avoid returning None by sending empty string. --- gluon/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/tools.py b/gluon/tools.py index f81d7eb4..d844cee8 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4416,7 +4416,7 @@ class Service(object): if must_respond: return return_response(id, s) else: - return + return '' except Service.JsonRpcException, e: return return_error(id, e.code, e.info) except BaseException: