1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
This commit is contained in:
James Kasten
2015-09-10 23:46:02 -07:00
parent e3b48051ea
commit 63b0d62f7b

View File

@@ -268,7 +268,8 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
if kind not in ALL_FOUR:
raise errors.CertStorageError("unknown kind of item")
where = os.path.dirname(self.current_target(kind))
return os.path.join(where, "{0}{1}.pem".format(kind, version))
return os.path.abspath(
os.path.join(where, "{0}{1}.pem".format(kind, version)))
def available_versions(self, kind):
"""Which alternative versions of the specified kind of item exist?