Commit 28860d06 authored by nextime's avatar nextime

Fix a bug in GOTOSTEP condition act for sequences

parent 0cc2a281
...@@ -1261,7 +1261,7 @@ class domotikaService(service.Service): ...@@ -1261,7 +1261,7 @@ class domotikaService(service.Service):
if genutils.isTrue(conval): if genutils.isTrue(conval):
if res.condition_act=='GOTOSTEP': if res.condition_act=='GOTOSTEP':
if genutils.is_number(res.condition_actvalue): if genutils.is_number(res.condition_actvalue):
return dmdb.setNextStep(int(res.condition_actvalue)).addCallback( return dmdb.setNextStep(seqname, int(res.condition_actvalue)).addCallback(
doNextStep doNextStep
) )
elif res.condition_act=='GOTOSEQ': elif res.condition_act=='GOTOSEQ':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment