mirror of
https://github.com/platformio/platformio-core.git
synced 2026-04-28 18:12:05 +02:00
Fix issue with downloader when dependency URL ends with "/"
This commit is contained in:
+1
-1
Submodule docs updated: 2e04299a17...a65d042693
@@ -48,7 +48,7 @@ class FileDownloader(object):
|
||||
"'", "")
|
||||
self._fname = self._fname.encode("utf8")
|
||||
else:
|
||||
self._fname = url.split("/")[-1]
|
||||
self._fname = [p for p in url.split("/") if p][-1]
|
||||
|
||||
self._progressbar = None
|
||||
self._destination = self._fname
|
||||
|
||||
Reference in New Issue
Block a user