소스 검색

Add folder creation for processed terrain

Stephen Dade 5 년 전
부모
커밋
a50fb72bc4
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      app.py

+ 4 - 0
app.py

@@ -44,6 +44,10 @@ def compressFiles(fileList, uuidkey, outfolder):
         os.makedirs(os.path.join(this_path, outfolder))
     except OSError:
         pass
+    try:
+        os.makedirs(os.path.join(this_path, "processedTerrain"))
+    except OSError:
+        pass
 
     try:
         with zipfile.ZipFile(zipthis, 'w') as terrain_zip: