From e37401d74b6d3bf5bc0e7576b9cf45c975b05ffb Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 8 Jul 2017 12:51:06 -0500 Subject: [PATCH] Update fetch.py --- fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.py b/fetch.py index 15b0f5b7..fb2e123b 100644 --- a/fetch.py +++ b/fetch.py @@ -33,7 +33,7 @@ def fetch_wget(out_dir, link, overwrite=False, requisites=True, timeout=TIMEOUT) CMD = [ *'wget --timestamping --adjust-extension --no-parent'.split(' '), # Docs: https://www.gnu.org/software/wget/manual/wget.html *(('--page-requisites', '--convert-links') if requisites else ()), - *(('--user-agent="{}"'.format(WGET_USER_AGENT), '') if WGET_USER_AGENT else ()), + *(('--user-agent="{}"'.format(WGET_USER_AGENT),) if WGET_USER_AGENT else ()), link['url'], ] end = progress(timeout, prefix=' ')