1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-20 03:29:29 +08:00
This commit is contained in:
Zuosizhu
2023-02-01 03:05:33 +08:00
22 changed files with 225 additions and 122 deletions

View File

@@ -63,6 +63,8 @@ class OSStatus(UI):
LogRes(self.config).log_res(yellow_coins, 'YellowCoin')
if timeout.reached():
logger.warning('Get yellow coins timeout')
break
if yellow_coins < 100:
# OCR may get 0 or 1 when amount is not immediately loaded
logger.info('Yellow coins less than 100, assuming it is an ocr error')