Skip to content

Commit 1510c9b

Browse files
author
Glenn Snyder
committed
removing the extra slash
1 parent 388763d commit 1510c9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/client/generate_version_detail_report.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ class FailedReportDownload(Exception):
6060

6161
def download_report(bd_client, location, filename, retries=args.tries):
6262
report_id = location.split("/")[-1]
63-
download_url = f"{bd_client.base_url}/api/reports/{report_id}"
63+
download_url = f"{bd_client.base_url}api/reports/{report_id}"
6464

65+
import pdb; pdb.set_trace()
6566
if retries:
6667
print("Retrieving generated report from {}".format(location))
6768
response = bd.session.get(download_url, headers={'Content-Type': 'application/zip', 'Accept':'application/zip'})

0 commit comments

Comments
 (0)