From 8bca6760809fe05ea4a9d854ecdb9919893a4a49 Mon Sep 17 00:00:00 2001 From: Yannick DAYER <yannick.dayer@idiap.ch> Date: Wed, 18 Oct 2023 08:58:08 +0000 Subject: [PATCH] fix: unset force by default for download_file. --- src/bob/bio/base/database/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bob/bio/base/database/utils.py b/src/bob/bio/base/database/utils.py index 20060362..75aa669d 100644 --- a/src/bob/bio/base/database/utils.py +++ b/src/bob/bio/base/database/utils.py @@ -478,7 +478,7 @@ def download_file( destination_filename: Union[str, None] = None, checksum: Union[str, None] = None, checksum_fct: Callable[[Any, int], str] = sha256_hash, - force: bool = True, + force: bool = False, extract: bool = False, makedirs: bool = True, ) -> Path: -- GitLab