mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 17:57:01 +08:00
Fix: Mumu6 failed on ADB screenshot
This commit is contained in:
@@ -140,7 +140,7 @@ class Adb(Connection):
|
|||||||
result = self.__load_screenshot(screenshot, method=method)
|
result = self.__load_screenshot(screenshot, method=method)
|
||||||
self.__screenshot_method_fixed = [method] + self.__screenshot_method
|
self.__screenshot_method_fixed = [method] + self.__screenshot_method
|
||||||
return result
|
return result
|
||||||
except OSError:
|
except (OSError, ImageTruncated):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.__screenshot_method_fixed = self.__screenshot_method
|
self.__screenshot_method_fixed = self.__screenshot_method
|
||||||
|
|||||||
Reference in New Issue
Block a user