We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8238353 commit 9c87cecCopy full SHA for 9c87cec
1 file changed
module/handler/info_handler.py
@@ -535,11 +535,17 @@ def wait_until_manjuu_disappear(self):
535
"""
536
Wait until manjuu loading disappear.
537
538
+ timer = Timer(1.5, count=3).start()
539
while 1:
540
self.device.screenshot()
- if not self.manjuu_count():
541
- break
542
-
+ if self.manjuu_count():
+ self.device.stuck_record_clear()
543
+ timer.reset()
544
+ else:
545
+ if timer.reached():
546
+ logger.info(f'Manjuu disappeared')
547
+ break
548
+
549
def handle_manjuu(self):
550
551
Handle manjuu loading.
0 commit comments