mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: 修复和优化
- 纠正了5-3刷新数据 - 更改出错截图文件名为毫秒时间戳 - 修复了伏击出现时, 仍会识别队伍的情况 - 修复了不开启截图时获得紧急委托时不点击的情况
This commit is contained in:
@@ -63,8 +63,8 @@ class Screenshot(Connection):
|
||||
|
||||
self.image.load()
|
||||
if self.config.ENABLE_ERROR_LOG_AND_SCREENSHOT_SAVE:
|
||||
logger.screenshot_deque.append(self.image)
|
||||
return self.image
|
||||
logger.screenshot_deque.append({'time': int(time.time() * 1000), 'image': self.image})
|
||||
return self.image
|
||||
|
||||
def save_screenshot(self, genre='items'):
|
||||
"""Save a screenshot. Use millisecond timestamp as file name.
|
||||
|
||||
Reference in New Issue
Block a user