1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-28 14:49:05 +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: