瀏覽代碼

分析代码

罗俊辉 1 年之前
父節點
當前提交
3e4f7dc8e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      p_data_process.py

+ 1 - 1
p_data_process.py

@@ -27,7 +27,7 @@ def generate_hour_data(s, e, flag):
         for obj in data:
             L.append(obj)
 
-    with open("{}_data/{}_{}_{}.json".format(flag, flag, s, e), "w", encoding="utf-8") as f:
+    with open("data/{}_data/{}_{}_{}.json".format(flag, flag, s, e), "w", encoding="utf-8") as f:
         f.write(json.dumps(L, ensure_ascii=False))