Skip to content

Commit

Permalink
addition of progress callback to cli see #21
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcazorla committed Jun 28, 2018
1 parent 3f1d23b commit ea423a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eodag/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def download(ctx, **kwargs):
conf_file = click.format_filename(conf_file)
satim_api = SatImagesAPI(user_conf_file_path=conf_file)
search_results = satim_api.deserialize(search_result_path)
for downloaded_file in satim_api.download_all(search_results):
for downloaded_file in satim_api.download_all(search_results, progress_callback=None):
if downloaded_file is None:
click.echo('A file may have been downloaded but we cannot locate it')
else:
Expand Down

0 comments on commit ea423a8

Please sign in to comment.