fix logic oops
This commit is contained in:
parent
59e1552915
commit
78d537aa08
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ for cert in acmestore.get('Certificates'):
|
||||||
certbin = cert.get('certificate')
|
certbin = cert.get('certificate')
|
||||||
keybin = cert.get('key')
|
keybin = cert.get('key')
|
||||||
|
|
||||||
if not (certbin or keybin):
|
if not (certbin and keybin):
|
||||||
print("Cert not found")
|
print("Cert not found")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue