Your Name 3 년 전
부모
커밋
3c6c55cd9f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      genjson/gen_json_alone.py

+ 2 - 2
genjson/gen_json_alone.py

@@ -326,12 +326,12 @@ ORDER BY outer_set, inner_sort
     # print(jData)
     if not os.path.exists(hhhMBPath):
         os.mkdir(hhhMBPath)
-    with open(hhhMBPath+'/json/' + filename, 'w', encoding='utf-8') as f:
+    with open('../json/' + filename, 'w', encoding='utf-8') as f:
         json.dump(jData, f, ensure_ascii=False, indent=4)
 
     if not os.path.exists(hhhPCPath):
         os.mkdir(hhhPCPath)
-    with open(hhhPCPath+'/json/' + filename, 'w', encoding='utf-8') as f:
+    with open('../json/' + filename, 'w', encoding='utf-8') as f:
         json.dump(jData, f, ensure_ascii=False, indent=4)
 
     return jData