projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
a minor bug in schedule method!
[smartthings-infrastructure.git]
/
Methods
/
schedule.groovy
diff --git
a/Methods/schedule.groovy
b/Methods/schedule.groovy
index fac8d952cecfc82dc001b519d9bc74dedcf045df..307b221e25c3f2a89cd3f6f3981ec78648d5252d 100644
(file)
--- a/
Methods/schedule.groovy
+++ b/
Methods/schedule.groovy
@@
-15,7
+15,6
@@
def schedule(String time, String nameOfFunction) {
//} else {
// delay = inputTime-currentTime
//}
-
timersFuncList.add(nameOfFunction)
timersList.add(new SimulatedTimer())
def task = timersList[timersFuncList.indexOf(nameOfFunction)].runAfter(/*delay*1000*0*/0) {