Init context to rpc context
This commit is contained in:
1 parent
efc70e0071
commit
6a87f6512a
1 file changed
+1
-1
@@ -84,7 +84,7 @@ class Action(object):
|
||||
@staticmethod
|
||||
def _exec_action(action, datas=None, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
context = rpc.CONTEXT.copy()
|
||||
if datas is None:
|
||||
datas = {}
|
||||
if 'type' not in action:
|
||||
|
||||
Reference in new issue
Block a user