minor fix
This commit is contained in:
@@ -332,8 +332,7 @@ def main():
|
||||
|
||||
sents[current] = '❌'
|
||||
message = alert.text.replace('\n', ' ')
|
||||
if not message: raise Exception('程序异常。请保持页面在前台显示,避免遮挡或最小化')
|
||||
print(f'[警告] ({attempt}): {message}')
|
||||
print(f'[警告] ({attempt}): {message or '未知错误'}')
|
||||
|
||||
# 关闭警告
|
||||
click("div.io-ox-alert.io-ox-alert-error button[data-action='close']")
|
||||
|
||||
Reference in New Issue
Block a user