zhangyong hace 8 meses
padre
commit
d398cccab0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data_channel/ks_ls.py

+ 1 - 1
data_channel/ks_ls.py

@@ -27,7 +27,7 @@ class KSLS:
             data_all_list = response["data"]
             if data_all_list == None or len(data_all_list) == 0:
                 try:
-                    if response["cdoe"] == 27006:
+                    if int(response["cdoe"]) == 27006:
                         Feishu.finish_bot(response["msg"],
                                           "https://open.feishu.cn/open-apis/bot/v2/hook/575ca6a1-84b4-4a2f-983b-1d178e7b16eb", "【 Token 使用提示 】")
                 except Exception as exc: