mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 18:04:31 +02:00
Fix mypy joinpath errors (#9871)
* Fix mypy joinpath errors * update changelog
This commit is contained in:
@@ -171,8 +171,8 @@ class NginxConfigurator(common.Configurator):
|
||||
|
||||
file_manager = ExitStack()
|
||||
atexit.register(file_manager.close)
|
||||
ref = importlib_resources.files("certbot_nginx").joinpath(
|
||||
"_internal", "tls_configs", config_filename)
|
||||
ref = (importlib_resources.files("certbot_nginx").joinpath("_internal")
|
||||
.joinpath("tls_configs").joinpath(config_filename))
|
||||
|
||||
return str(file_manager.enter_context(importlib_resources.as_file(ref)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user