mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-28 20:59:57 +08:00
Refactor: Catching truncated image
This commit is contained in:
@@ -88,6 +88,10 @@ class PackageNotInstalled(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ImageTruncated(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def retry_sleep(trial):
|
||||
# First trial
|
||||
if trial == 0:
|
||||
|
||||
Reference in New Issue
Block a user