diff --git a/certbot/src/certbot/_internal/plugins/apache/constants.py b/certbot/src/certbot/_internal/plugins/apache/constants.py index 9f6bde113..d6d9f02c7 100644 --- a/certbot/src/certbot/_internal/plugins/apache/constants.py +++ b/certbot/src/certbot/_internal/plugins/apache/constants.py @@ -45,7 +45,7 @@ def _generate_augeas_lens_dir_static() -> str: file_manager = ExitStack() atexit.register(file_manager.close) augeas_lens_dir_ref = importlib.resources.files("certbot") / "_internal" \ - / "apache" / "augeas_lens" + "plugins" / "apache" / "augeas_lens" return str(file_manager.enter_context(importlib.resources.as_file(augeas_lens_dir_ref))) AUGEAS_LENS_DIR = _generate_augeas_lens_dir_static()