From 8649c687c39d0fbffafa29c3b138be9c2403ee39 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 22 Mar 2024 14:27:40 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix(wip):=20in=20recursive=20mod?= =?UTF-8?q?ule=20too?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tractor_beam/abducts/abduct.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tractor_beam/abducts/abduct.py b/tractor_beam/abducts/abduct.py index 78f137b..0f31e46 100644 --- a/tractor_beam/abducts/abduct.py +++ b/tractor_beam/abducts/abduct.py @@ -29,7 +29,8 @@ def __init__(self, conf: dict = None, job: Job = None, cb=None): def _fetch_to_write(self, attachment, headers, attachment_path, file_name, block_size, o=False): if os.path.exists(attachment_path) and not o: - return _f('warn', f"File exists at {attachment_path}, and overwrite is disabled. Skipping download.") + # return _f('warn', f"File exists at {attachment_path}, and overwrite is disabled. Skipping download.") + pass response = requests.get(attachment, stream=True, headers=headers) response.raise_for_status() try: