diff --git a/admin/mailu/tlstasks.py b/admin/mailu/tlstasks.py index dc139c7e..0a0c9f2a 100644 --- a/admin/mailu/tlstasks.py +++ b/admin/mailu/tlstasks.py @@ -28,7 +28,7 @@ def install_certs(domain): else: print("Could not find the proper certificate from traefik") return - if os.path.join(cert_path): + if os.path.exists(cert_path): with open(cert_path, "rb") as handler: if handler.read() == cert: return