mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +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