Skip to content

Commit 25e93aa

Browse files
committed
Fix for download file
1 parent e412947 commit 25e93aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

script/download-file/customize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def preprocess(i):
214214
if env.get('MLC_DOWNLOAD_FILENAME', '') != '':
215215
extra_download_options += f" --tries=3 -O {q}{env['MLC_DOWNLOAD_FILENAME']}{q} "
216216
if not verify_ssl:
217-
extra_download_options += "--no-check-certificate "
217+
extra_download_options += " --no-check-certificate "
218218
env['MLC_DOWNLOAD_CMD'] = f"wget -nc {extra_download_options} {url}"
219219
for i in range(1, 5):
220220
url = env.get('MLC_DOWNLOAD_URL' + str(i), '')
@@ -250,7 +250,7 @@ def preprocess(i):
250250

251251
elif tool == "gdown":
252252
if not verify_ssl:
253-
extra_download_options += "--no-check-certificate "
253+
extra_download_options += " --no-check-certificate "
254254
env['MLC_DOWNLOAD_CMD'] = f"gdown {extra_download_options} {url}"
255255
for i in range(1, 5):
256256
url = env.get('MLC_DOWNLOAD_URL' + str(i), '')

0 commit comments

Comments
 (0)