- Code: Select all
import time
time1 = time.strftime("%a"", ""%B"" ""%d"", ""%Y")
indigo.variable.updateValue(992969415, value=time1) #updates the date
import time
time2 = time.strftime("%-I"":""%M"":""%S"" ""%p")
indigo.variable.updateValue(1627691060, value=time2) #updates the open start time
but now throws an error:
- Code: Select all
Script Error embedded script error:
Script Error 'list' object has no attribute 'updateValue'
Script Error Exception Traceback (most recent call shown last):
embedded script, line 3, at top level
AttributeError: 'list' object has no attribute 'updateValue'
Am on the latest version of Indigo: 2023.2.0, and MacOS 14.4.1
Not sure how long this has been a problem but the last time these time variables were updated was 3/31/24... which might have been close to when I did the last OS update..
ALSO just noticing that I have a bunch of scripts that update variables, but now they too seem to give error messages, but actually run to completion.