Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Mar 6, 2024
1 parent 3449b37 commit 4c7e390
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cads_api_client/legacy_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ def retrieve(
retry_options=self.retry_options,
)
result.download = partial_download # type: ignore[method-assign]
if target is None:
return result
return result.download(target)
return result if target is None else result.download(target)

def service(self, name, *args, **kwargs): # type: ignore
self.raise_not_implemented_error()
Expand Down

0 comments on commit 4c7e390

Please sign in to comment.