From 552c3e1049fb4e561ae54fd7f6a30bb67f442f49 Mon Sep 17 00:00:00 2001 From: Commandre Benjamin <benjamin.commandre@irstea.fr> Date: Fri, 28 Sep 2018 16:34:01 +0200 Subject: [PATCH] Correction --- Processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Processing.py b/Processing.py index c996c81..9d833cb 100644 --- a/Processing.py +++ b/Processing.py @@ -216,7 +216,7 @@ class Processing(object): if len(self.out_fieldname_carto) == 4: self.tree_direction = [[0], [0], [1, 2], [1, 3]] - def i_download(self, download=True): + def i_download(self, ignore_download=False): """ Interface function to download archives on the website Theia Land. This function extract the number of downloadable image with :func:`Archive.Archive.listing`. @@ -232,7 +232,7 @@ class Processing(object): self.check_download = Archive(self.captor_project, self.classif_year, self.path_area, folder_archive, self.w_proxy) - if download : + if not ignore_download : self.nb_avalaible_images = self.check_download.listing() self.check_download.download_auto(self.user, self.password) -- GitLab