added a default value to argument args{} in run server method method
This commit is contained in:
parent
c0e654fbd6
commit
2b269f83b1
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class FrameworkServer:
|
|||
|
||||
# -----------------------------------------------------------------------------------------
|
||||
|
||||
def run_method(self, method, args):
|
||||
def run_method(self, method, args={}):
|
||||
res = self.http_get_response(method, args)
|
||||
ret = eval(res.read())
|
||||
if ret.get('exc'):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue