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