[core] improvement: do not set '--no-config' when calling wget to avoid certificate issues

This commit is contained in:
Vinicius Moreira
2022-11-03 07:43:35 -03:00
parent d2c1a4e3fe
commit 0dee9f34c6
2 changed files with 3 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ class AdaptableFileDownloader(FileDownloader):
return SimpleProcess(cmd=cmd, cwd=cwd, root_password=root_password)
def _get_wget_process(self, url: str, output_path: str, cwd: str, root_password: Optional[str]) -> SimpleProcess:
cmd = ['wget', url, '-c', '--retry-connrefused', '-t', '10', '--no-config', '-nc']
cmd = ['wget', url, '-c', '--retry-connrefused', '-t', '10', '-nc']
if not self.check_ssl:
cmd.append('--no-check-certificate')