1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Mumu6 failed on ADB screenshot

This commit is contained in:
LmeSzinc 2023-01-26 21:47:53 +08:00
parent 30911cba0b
commit cdff9f61fc

View File

@ -140,7 +140,7 @@ class Adb(Connection):
result = self.__load_screenshot(screenshot, method=method)
self.__screenshot_method_fixed = [method] + self.__screenshot_method
return result
except OSError:
except (OSError, ImageTruncated):
continue
self.__screenshot_method_fixed = self.__screenshot_method