patches for @service.jsonrpc and exportclasses, thanks niphlod
This commit is contained in:
+1
-1
@@ -4244,7 +4244,7 @@ class Service(object):
|
||||
if not method in methods:
|
||||
return return_error(id, 100, 'method "%s" does not exist' % method)
|
||||
try:
|
||||
s = methods[method](*params)
|
||||
s = methods[method](**params)
|
||||
if hasattr(s, 'as_list'):
|
||||
s = s.as_list()
|
||||
return return_response(id, s)
|
||||
|
||||
Reference in New Issue
Block a user