Skip to content

Commit

Permalink
[FIX] make mapwriter download URL OS independent
Browse files Browse the repository at this point in the history
failed on Windows due to the inserted two backslashes
  • Loading branch information
treee111 committed Oct 14, 2024
1 parent 250853d commit e5d19bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wahoomc/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def download_tooling():
check here for new mapwriter plugin version: https://github.com/mapsforge/mapsforge
"""
map_writer_filename = 'mapsforge-map-writer-0.21.0-jar-with-dependencies.jar'
mapwriter_plugin_url = os.path.join('https://search.maven.org/remotecontent?filepath=org/mapsforge/mapsforge-map-writer/0.21.0', map_writer_filename)
mapwriter_plugin_url = 'https://search.maven.org/remotecontent?filepath=org/mapsforge/mapsforge-map-writer/0.21.0/' + map_writer_filename

# Windows
if platform.system() == "Windows":
Expand Down

0 comments on commit e5d19bd

Please sign in to comment.