mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Installation problems
- Disable update check - Add max retry attempt to screenshot
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user