Skip to content

Commit e5d19bd

Browse files
committed
[FIX] make mapwriter download URL OS independent
failed on Windows due to the inserted two backslashes
1 parent 250853d commit e5d19bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wahoomc/downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def download_tooling():
117117
check here for new mapwriter plugin version: https://github.com/mapsforge/mapsforge
118118
"""
119119
map_writer_filename = 'mapsforge-map-writer-0.21.0-jar-with-dependencies.jar'
120-
mapwriter_plugin_url = os.path.join('https://search.maven.org/remotecontent?filepath=org/mapsforge/mapsforge-map-writer/0.21.0', map_writer_filename)
120+
mapwriter_plugin_url = 'https://search.maven.org/remotecontent?filepath=org/mapsforge/mapsforge-map-writer/0.21.0/' + map_writer_filename
121121

122122
# Windows
123123
if platform.system() == "Windows":

0 commit comments

Comments
 (0)