Commit dfbe55a8 by Sébastien Eustace Committed by GitHub

Merge pull request #2954 from abn/issue/2931

provider: ensure download dest file is a string
parents bd4fecda 4fa99739
......@@ -324,7 +324,7 @@ class Provider:
with temporary_directory() as temp_dir:
temp_dir = Path(temp_dir)
file_name = os.path.basename(urlparse.urlparse(url).path)
download_file(url, temp_dir / file_name)
download_file(url, str(temp_dir / file_name))
package = cls.get_package_from_file(temp_dir / file_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment