Browse Source

acme_tlsa_mail: replace number comparison with else for certificate serials (fixes #5)

Helmut Pozimski 7 years ago
parent
commit
58bf8d88f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme_tlsa_mail.py

+ 1 - 1
acme_tlsa_mail.py

@@ -90,7 +90,7 @@ def check_renewal(cert):
                 LOGGER.debug("Cert for %s matches with the one "
                              "installed, nothing to do.", FQDN)
                 return False
-            elif serial_acme_cert > serial_current_cert:
+            else:
                 return True