get_step_info 小bug
This commit is contained in:
parent
f2af3e4a8d
commit
de1a17f166
|
@ -22,7 +22,7 @@ class WpmService(object):
|
||||||
if i.step == nowstep and get_next:
|
if i.step == nowstep and get_next:
|
||||||
try:
|
try:
|
||||||
used_step = used_steps[index+1]
|
used_step = used_steps[index+1]
|
||||||
return used_step, used_step.need_test, used_step.reuse_form
|
return used_step.step, used_step.need_test, used_step.reuse_form
|
||||||
except:
|
except:
|
||||||
return nowstep, i.need_test, i.reuse_form
|
return nowstep, i.need_test, i.reuse_form
|
||||||
elif i.step == nowstep and get_next == False:
|
elif i.step == nowstep and get_next == False:
|
||||||
|
|
Loading…
Reference in New Issue