I'm just learning Python scripting in Indigo. The code below was run in the scripting shell and is essentially the first example given in the Indigo scripting tutorial on variables. Why doesn't newVar.value show the updated values?
>>> newVar = indigo.variable.create("fooMonster", "5")
>>> newVar.value
u'5'
>>> indigo.variable.updateValue(newVar, "10")
>>> newVar.value
u'5'
>>> indigo.variable.updateValue(newVar, "20")
>>> newVar.value
u'5'