fixing linting issues
This commit is contained in:
parent
254a3079f2
commit
c68a9cf80a
|
@ -54,7 +54,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
|
||||||
try:
|
try:
|
||||||
hex_key = current_app.config.get('CFSSL_KEY')
|
hex_key = current_app.config.get('CFSSL_KEY')
|
||||||
key = bytes.fromhex(hex_key)
|
key = bytes.fromhex(hex_key)
|
||||||
except:
|
except (ValueError, NameError):
|
||||||
# unable to find CFSSL_KEY in config, continue using normal sign method
|
# unable to find CFSSL_KEY in config, continue using normal sign method
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue