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