Skip to content

Commit 3c515c5

Browse files
DrDaveDdjw8605
andauthored
Update stashcp/__init__.py
Co-Authored-By: Derek Weitzel <djw8605@gmail.com>
1 parent b2ac2f9 commit 3c515c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stashcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def download_http(source, destination, debug, payload):
408408
bearer_auth = "-H \"Authorization: Bearer %s\"" % (scitoken_contents)
409409
else:
410410
bearer_auth = ""
411-
curl_command = "curl %s -L --connect-timeout 30 --speed-limit 1024 %s --fail -H \"User-Agent: %s\" %s%s%s" % (output_mode, download_output, user_agent, bearer_auth, cache, quoted_source)
411+
curl_command = "curl %s -L --connect-timeout 30 --speed-limit 1024 %s --fail -H \"User-Agent: %s\" %s %s%s" % (output_mode, download_output, user_agent, bearer_auth, cache, quoted_source)
412412
logging.debug("About to run curl command: %s", curl_command)
413413
start = int(time.time()*1000)
414414
command_object = subprocess.Popen([curl_command], shell=True, cwd=dest_dir)

0 commit comments

Comments
 (0)