Skip to content

Commit

Permalink
🚧 fix(wip): in recursive module too
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Mar 22, 2024
1 parent a5317f9 commit 8649c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tractor_beam/abducts/abduct.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8649c68

Please sign in to comment.