1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 10:58:21 +08:00

Fix: Installation problems

- Disable update check
- Add max retry attempt to screenshot
This commit is contained in:
LmeSzinc
2020-07-07 19:58:08 +08:00
parent bbcfb47fef
commit cf719b212f
3 changed files with 4 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ class Screenshot(Connection):
image = Image.fromarray(image)
return image
@retry(wait_fixed=5000)
@retry(wait_fixed=5000, stop_max_attempt_number=10)
# @timer
def screenshot(self):
"""