소스 검색

DD修改4

“蒋伟” 1 년 전
부모
커밋
921b675838
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      DingDing.py

+ 1 - 1
DingDing.py

@@ -38,7 +38,7 @@ def DingTalkSend(info):
     d = {}
     # 获取项目绝对路径
     path = Path(__file__).parent
-    file = "/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')