Преглед изворни кода

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

Helmut Pozimski пре 7 година
родитељ
комит
58bf8d88f2
1 измењених фајлова са 1 додато и 1 уклоњено
  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