fixing linting issues

This commit is contained in:
alwaysjolley 2019-01-29 11:10:56 -05:00
parent 254a3079f2
commit c68a9cf80a
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
try:
hex_key = current_app.config.get('CFSSL_KEY')
key = bytes.fromhex(hex_key)
except:
except (ValueError, NameError):
# unable to find CFSSL_KEY in config, continue using normal sign method
pass
else: