Ver código fonte

Fix uploading via Statechart: missing context

Yentl Van Tendeloo 7 anos atrás
pai
commit
0b55399dbe
1 arquivos alterados com 1 adições e 1 exclusões
  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()
 
                 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:
                     raise Exception("Unknown data from SC to MV: " + str(response))
                 empty = False