From c00bc938019f660b72fff7f9972f93eb7462d8cf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 7 Jan 2020 22:40:19 +0100 Subject: getting latent search updates working... --- cli/app/utils/cortex_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/app/utils') diff --git a/cli/app/utils/cortex_utils.py b/cli/app/utils/cortex_utils.py index e4594ff..01b4bc9 100644 --- a/cli/app/utils/cortex_utils.py +++ b/cli/app/utils/cortex_utils.py @@ -22,8 +22,8 @@ def download_cortex_files(opt_folder_id): if row['generated'] == 0 and row['processed'] != 1: fn, ext = os.path.splitext(row['name']) fp_out_image = join(fp_out_dir, row['name']) + row['path'] = fp_out_image if not os.path.exists(fp_out_image): - row['path'] = fp_out_image fetch_file(row['url'], fp_out_image) return rows -- cgit v1.2.3-70-g09d2