Skip to content

Commit

Permalink
Missed a spot.
Browse files Browse the repository at this point in the history
mjordan committed Mar 26, 2024
1 parent d580fea commit d5406df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workbench_utils.py
Original file line number Diff line number Diff line change
@@ -8763,7 +8763,9 @@ def get_node_media_ids(config, node_id, media_use_tids=None):
def download_remote_file(config, url, file_fieldname, node_csv_row, node_id):
sections = urllib.parse.urlparse(url)
try:
# do not cache the responses for downloaded files in requests_cache
if config["secure_ssl_only"] is False:
requests.packages.urllib3.disable_warnings()
# Do not cache the responses for downloaded files in requests_cache
with requests_cache.disabled():
response = requests.get(
url, allow_redirects=True, stream=True, verify=config["secure_ssl_only"]

0 comments on commit d5406df

Please sign in to comment.