mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: Show empty screenshots
This commit is contained in:
@@ -46,6 +46,8 @@ class Screenshot(AScreenCap):
|
||||
continue
|
||||
|
||||
self._screenshot_method_fixed = self._screenshot_method
|
||||
if len(screenshot) < 100:
|
||||
logger.warning(f'Unexpected screenshot: {screenshot}')
|
||||
raise OSError(f'cannot load screenshot')
|
||||
|
||||
def _screenshot_adb(self):
|
||||
|
||||
Reference in New Issue
Block a user