Your Name 3 gadi atpakaļ
vecāks
revīzija
3c6c55cd9f
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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