修改偶尔异常闪退
This commit is contained in:
@@ -672,10 +672,11 @@ class ScriptManager():
|
||||
|
||||
LogManager.method_info(f"检查当前是否为视频页面", "关注打招呼", udid)
|
||||
|
||||
is_back_enabled = ControlUtils.isClickBackEnabled(session)
|
||||
if not is_back_enabled:
|
||||
print("返回失败")
|
||||
raise Exception("返回失败,出现问题")
|
||||
# is_back_enabled = ControlUtils.isClickBackEnabled(session)
|
||||
# if not is_back_enabled:
|
||||
# print("返回失败")
|
||||
# LogManager.method_info(f"返回失败,", "关注打招呼", udid)
|
||||
# raise Exception("返回失败,出现问题")
|
||||
|
||||
if count != 0:
|
||||
ControlUtils.swipe_up(client)
|
||||
|
||||
Reference in New Issue
Block a user