From d0be0fc2e02ca04f035e59a634363ce49995ddbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Mon, 23 Dec 2024 11:24:32 +0100 Subject: [PATCH] Add core/letsencrypt/jobs to Python path in certbot-new.py --- src/common/core/letsencrypt/jobs/certbot-new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/core/letsencrypt/jobs/certbot-new.py b/src/common/core/letsencrypt/jobs/certbot-new.py index 0c45c27a4..044afab4d 100644 --- a/src/common/core/letsencrypt/jobs/certbot-new.py +++ b/src/common/core/letsencrypt/jobs/certbot-new.py @@ -15,7 +15,7 @@ from subprocess import DEVNULL, PIPE, STDOUT, Popen, run from sys import exit as sys_exit, path as sys_path from typing import Dict, Literal, Type, Union -for deps_path in [join(sep, "usr", "share", "bunkerweb", *paths) for paths in (("deps", "python"), ("utils",), ("db",))]: +for deps_path in [join(sep, "usr", "share", "bunkerweb", *paths) for paths in (("deps", "python"), ("utils",), ("db",), ("core", "letsencrypt", "jobs"))]: if deps_path not in sys_path: sys_path.append(deps_path)