fix time
This commit is contained in:
@ -69,7 +69,7 @@ class MediaChain(ChainBase, metaclass=Singleton):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
# 每0.5秒循环一次,等待结果,直到10秒后超时
|
# 每0.5秒循环一次,等待结果,直到10秒后超时
|
||||||
for i in range(10):
|
for i in range(20):
|
||||||
if self.recognize_temp is not None:
|
if self.recognize_temp is not None:
|
||||||
break
|
break
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
Reference in New Issue
Block a user