fix(task): 修复检测培育阶段函数过早返回的问题
This commit is contained in:
parent
6629bc7ae5
commit
de1328cdff
|
@ -738,8 +738,6 @@ def detect_produce_scene() -> ProduceStage:
|
||||||
elif commu_event():
|
elif commu_event():
|
||||||
# 继续循环检测
|
# 继续循环检测
|
||||||
pass
|
pass
|
||||||
else:
|
|
||||||
return 'unknown'
|
|
||||||
# 如果没有返回,说明需要继续检测
|
# 如果没有返回,说明需要继续检测
|
||||||
sleep(0.5) # 等待一段时间再重新检测
|
sleep(0.5) # 等待一段时间再重新检测
|
||||||
return 'unknown'
|
return 'unknown'
|
||||||
|
|
Loading…
Reference in New Issue