diff --git a/acmetopem.py b/acmetopem.py index 7e8535e..b7125eb 100644 --- a/acmetopem.py +++ b/acmetopem.py @@ -21,7 +21,7 @@ for cert in acmestore.get('Certificates'): certbin = cert.get('certificate') keybin = cert.get('key') -if not (certbin or keybin): +if not (certbin and keybin): print("Cert not found") sys.exit(1)