Skip to content

Commit 9a0e19c

Browse files
committed
Fix errors that occur when downloading link
1 parent 07692f7 commit 9a0e19c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fosslight_scanner/fosslight_scanner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def download_source(link, out_dir):
194194
temp_src_dir = os.path.join(
195195
_output_dir, SRC_DIR_FROM_LINK_PREFIX + start_time)
196196

197+
link = link.strip()
197198
logger.info(f"Link to download: {link}")
198199
success, msg = cli_download_and_extract(
199200
link, temp_src_dir, _output_dir)

0 commit comments

Comments
 (0)