summaryrefslogtreecommitdiff
path: root/cli/app/commands/biggan/fetch.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-07 20:05:57 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-07 20:05:57 +0100
commit08fa371f49042a2989ec3d494f37b8db63b13c95 (patch)
treedefd020ea3e720e1b58d34c4fb4c16b712cad54c /cli/app/commands/biggan/fetch.py
parent45855c051f415e56306f116a921eefe284139694 (diff)
script to run everything
Diffstat (limited to 'cli/app/commands/biggan/fetch.py')
-rw-r--r--cli/app/commands/biggan/fetch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/commands/biggan/fetch.py b/cli/app/commands/biggan/fetch.py
index 39f503c..d454633 100644
--- a/cli/app/commands/biggan/fetch.py
+++ b/cli/app/commands/biggan/fetch.py
@@ -9,9 +9,9 @@ from app.utils.cortex_utils import fetch_cortex_folder, find_unprocessed_files
@click.pass_context
def cli(ctx, opt_folder_id):
"""
- Fetch JSON from the server
+ Fetch new images from the server
"""
- files = fetch_cortex_folder(opt_folder_id)
+ files = download_cortex_files(opt_folder_id)
unprocessed_files = find_unprocessed_files(files)
print("Unprocessed files:")
for file in unprocessed_files: