fix: actually skip when certificate is still valid

This commit is contained in:
ptrcnull 2024-03-16 19:54:26 +01:00
parent 5e665eb9fb
commit 0dca02cee6
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ def main() -> None:
delta = date - datetime.now()
if delta.days > 30:
log.info(f'cert for {domain} expires in more than a month ({delta.days} days), skipping')
# continue
continue
log.info(f'getting cert for {domain}')
env = os.environ.copy()

View file

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "nyacme"
version = "0.1.7"
version = "0.1.8"
authors = [
{name = "Patrycja Rosa", email = "python@ptrcnull.me"},
]