Browse Source

Add folder creation for processed terrain

Stephen Dade 5 years ago
parent
commit
a50fb72bc4
1 changed files with 4 additions and 0 deletions
  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: