diff --git a/docs b/docs index 2e04299a..a65d0426 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 2e04299a170b3654d9f4ec3c78392fb9202e829b +Subproject commit a65d04269399f6170e112b56aace6b368835254b diff --git a/platformio/downloader.py b/platformio/downloader.py index 4dc84a83..df9f65a2 100644 --- a/platformio/downloader.py +++ b/platformio/downloader.py @@ -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