mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
Explicit "is not None"
This commit is contained in:
@@ -142,7 +142,7 @@ class Client(object):
|
||||
|
||||
cert_pem = certr.body.as_pem()
|
||||
chain_pem = None
|
||||
if certr.cert_chain_uri:
|
||||
if certr.cert_chain_uri is not None:
|
||||
chain_pem = self.network.fetch_chain(certr)
|
||||
|
||||
if chain_pem is None:
|
||||
|
||||
Reference in New Issue
Block a user