diff options
author | rafael lisboa <rafaelzlisboa@gmail.com> | 2015-06-10 17:01:37 -0300 |
---|---|---|
committer | rafael lisboa <rafaelzlisboa@gmail.com> | 2015-06-10 17:01:37 -0300 |
commit | 1f41801a9355ed55e50ca6f54411565a5b11b093 (patch) | |
tree | 8355d6db60b4ae16748807b0aeb29991765ba5c7 /service/pixelated | |
parent | 031ebd58fd97bebae81e4e17cd7c4a4ed5a493d0 (diff) |
Fix bug when not passing leap certificate nor fingerprint
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/bitmask_libraries/certs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/bitmask_libraries/certs.py b/service/pixelated/bitmask_libraries/certs.py index 874ab246..9d543672 100644 --- a/service/pixelated/bitmask_libraries/certs.py +++ b/service/pixelated/bitmask_libraries/certs.py @@ -29,7 +29,7 @@ class LeapCertificate(object): @staticmethod def set_cert_and_fingerprint(cert_file=None, cert_fingerprint=None): if cert_fingerprint is None: - LeapCertificate.LEAP_CERT = str(cert_file) or True + LeapCertificate.LEAP_CERT = str(cert_file) if cert_file else True LeapCertificate.LEAP_FINGERPRINT = None else: LeapCertificate.LEAP_FINGERPRINT = cert_fingerprint |