fix logic oops

This commit is contained in:
chris 2019-11-15 13:03:14 +00:00
parent 59e1552915
commit 78d537aa08
1 changed files with 1 additions and 1 deletions

View File

@ -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)