“蒋伟” 1 year ago
parent
commit
579a183211
1 changed files with 1 additions and 1 deletions
  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')