소스 검색

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