From 9113ac0530a38a4ab3a026b4403db7d84111e64b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 13 Jun 2018 22:19:17 +0200 Subject: [PATCH] variable.set now returns output in the form name:value so the newly set variable is already available in the context of the task --- platypush/plugins/variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/variable.py b/platypush/plugins/variable.py index fd106df6e..745356430 100644 --- a/platypush/plugins/variable.py +++ b/platypush/plugins/variable.py @@ -17,7 +17,7 @@ class VariablePlugin(Plugin): def set(self, name, value): self._variables[name] = value - return Response(output={'status':'ok'}) + return Response(output={name: value}) def unset(self, name): if name in self._variables: