1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 19:07:01 +08:00

Refactor: Catching truncated image

This commit is contained in:
LmeSzinc
2023-01-18 01:05:54 +08:00
parent 29758051dd
commit 21fe98d2f5
5 changed files with 88 additions and 18 deletions

View File

@@ -88,6 +88,10 @@ class PackageNotInstalled(Exception):
pass
class ImageTruncated(Exception):
pass
def retry_sleep(trial):
# First trial
if trial == 0: