Explorar o código

Change terrain url

Stephen Dade %!s(int64=5) %!d(string=hai) anos
pai
achega
3c2181b652
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -56,7 +56,7 @@ def compressFiles(fileList, uuidkey, outfolder):
                 if not os.path.exists(fn):
                     #download if required
                     print("Downloading " + os.path.basename(fn))
-                    g = urllib.request.urlopen('https://firmware.ardupilot.org/terrain/files/' +
+                    g = urllib.request.urlopen('https://firmware.ardupilot.org/terrain/tiles/' +
                                                os.path.basename(fn))
                     print("Downloaded " + os.path.basename(fn))
                     with open(fn, 'b+w') as f: