“蒋伟” 1 anno fa
parent
commit
579a183211
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      DingDing.py

+ 1 - 1
DingDing.py

@@ -37,7 +37,7 @@ def DingTalkSend(info):
     d = {}
     # 获取项目绝对路径
     path = Path(__file__).parent
-    file = r"/report/export/prometheusData.txt"
+    file = "/report/export/prometheusData.txt"
     print(rf"{path}" + rf"{file}")
     # 打开prometheusData 获取需要发送的信息
     f = open(rf"{path}" + rf"{file}", 'r', encoding='UTF-8')