ソースを参照

Fix uploading via Statechart: missing context

Yentl Van Tendeloo 7 年 前
コミット
464fc4a18d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      wrappers/modelverse.py

+ 1 - 1
wrappers/modelverse.py

@@ -97,7 +97,7 @@ def __run_new_modelverse_activity(address, username, password, taskname, pipe, c
                 response = pipe.recv()
                 response = pipe.recv()
 
 
                 if response.name == "output":
                 if response.name == "output":
-                    controller.addInput(Event("data_input", "action_in", [response.parameters, context]))
+                    controller.addInput(Event("data_input", "action_in", [response.parameters, None]))
                 else:
                 else:
                     raise Exception("Unknown data from SC to MV: " + str(response))
                     raise Exception("Unknown data from SC to MV: " + str(response))
                 empty = False
                 empty = False