|
@@ -113,7 +113,9 @@ class Recommend:
|
|
|
cls.quit(log_type, driver)
|
|
|
|
|
|
except Exception as e:
|
|
|
- Common.logger(log_type).error('start_wechat异常:{}\n', e)
|
|
|
+ Common.logger(log_type).error('start_wechat异常:{},重启 ADB\n', e)
|
|
|
+ cmd = "cd ~ && source ./base_profile && adb kill-server && adb start-server"
|
|
|
+ os.system(cmd)
|
|
|
|
|
|
# 退出 APP
|
|
|
@classmethod
|