diff options
Diffstat (limited to 'webmap-download-mrr.py')
-rw-r--r-- | webmap-download-mrr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-download-mrr.py b/webmap-download-mrr.py index f839ac0..696e46c 100644 --- a/webmap-download-mrr.py +++ b/webmap-download-mrr.py @@ -538,7 +538,7 @@ PATH_RE = re.compile(r'^M\s*' + POINT0_RE = re.compile(r'^M\s*(' + FLOAT_RE + r')\s+(' + FLOAT_RE + r')\s+') POINT_RE = re.compile(r'^L\s*(' + FLOAT_RE + r')\s+(' + FLOAT_RE + r')(?:\s+|$)') -def download(dl, dest, dir_fd=None, headers={}, session=requests, progress=None): +def download(dest, dl, dir_fd=None, headers={}, session=requests, progress=None): dest_path = Path(dest) if dest_path.suffix.lower() != '.geojson': # mostly to check that nothing ends in .svg |