zhangyong 5 kuukautta sitten
vanhempi
commit
8345567bd3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      data_channel/kuaishou.py

+ 1 - 1
data_channel/kuaishou.py

@@ -74,7 +74,7 @@ class KS:
                 response.close()
                 if response.status_code != 200:
                     return list
-                if response.status_code == 200 and "error_msg" in response.text:
+                elif response.status_code == 200 and "error_msg" in response.text:
                     Feishu.bot("wangxueke", '机器自动改造消息通知', f'快手-{name}cookie过期,请及时更换', 'wangxueke')
                     Feishu.bot("liuzhaoheng", '机器自动改造消息通知', f'快手-{name}cookie过期,请及时更换', '刘兆恒')
                     return list