diff --git a/Lib/__np__/common.py b/Lib/__np__/common.py index 2c0a9c668c0598..d86acf85331b13 100644 --- a/Lib/__np__/common.py +++ b/Lib/__np__/common.py @@ -166,7 +166,7 @@ def download_file(url, destination): ) else: destination_file = os.path.join( - destination, os.path.basename(fp.geturl()) + destination, os.path.basename(fp.geturl()).rsplit("?", 1)[0] ) parent_dir = os.path.dirname(destination_file)