From d7db56eb5a867311882be0aa57bd0cfe7fcf6111 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Sun, 5 Jul 2026 18:27:58 +0800 Subject: [PATCH] fix: update input prompts in screenshot.py --- dev_tools/screenshot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev_tools/screenshot.py b/dev_tools/screenshot.py index 90ce49b..7038754 100644 --- a/dev_tools/screenshot.py +++ b/dev_tools/screenshot.py @@ -2,8 +2,8 @@ import os from datetime import datetime from PIL import Image - from pynput import keyboard + from module.config.config import AzurLaneConfig from module.config.utils import alas_instance from module.device.connection import Connection, ConnectionAttr @@ -50,12 +50,12 @@ def handle_sensitive_info(image): _ = EmptyConnection() name = input( - '输入alas配置文件名称,或者模拟器serial,或者模拟器端口号: (默认输入 "alas"):\n' - '例如:"alas", "127.0.0.1:16384", "7555"\n' + '输入aas配置文件名称,或者模拟器serial,或者模拟器端口号: (默认输入 "aas"):\n' + '例如:"aas", "127.0.0.1:16384", "7555"\n' ) name = name.strip().strip('"').strip() if not name: - name = 'alas' + name = 'aas' if name.isdigit(): name = f'127.0.0.1:{name}' if name in alas_instance():