wangkun 2 年 前
コミット
db493244e7
1 ファイル変更2 行追加0 行削除
  1. 2 0
      main/zmyx_recommend.py

+ 2 - 0
main/zmyx_recommend.py

@@ -108,6 +108,8 @@ class ZMYXRecommend:
             cls.quit(log_type, driver)
         except Exception as e:
             Common.logger(log_type).error('start_wechat异常:{}\n', e)
+            cmd = "cd ~ && source ./base_profile && adb kill-server && adb start-server"
+            os.system(cmd)
 
     @classmethod
     def quit(cls, log_type, driver: WebDriver):