From 9778eb7b25d85ba453a3b0b2f89aa53fadfe276e Mon Sep 17 00:00:00 2001 From: sirferl Date: Mon, 14 Sep 2020 15:56:02 +0200 Subject: [PATCH] fixed lint errors --- lemur/plugins/lemur_entrust/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/plugins/lemur_entrust/plugin.py b/lemur/plugins/lemur_entrust/plugin.py index c28e8350..ae0dbc66 100644 --- a/lemur/plugins/lemur_entrust/plugin.py +++ b/lemur/plugins/lemur_entrust/plugin.py @@ -68,7 +68,7 @@ def handle_response(my_response): try: d = json.loads(my_response.content) except Exception as e: - # catch an empty jason object here + # catch an empty jason object here d = {'errors': 'No detailled message'} s = my_response.status_code if s > 399: @@ -107,7 +107,7 @@ class EntrustIssuerPlugin(IssuerPlugin): key_file = current_app.config.get("ENTRUST_API_KEY") user = current_app.config.get("ENTRUST_API_USER") password = current_app.config.get("ENTRUST_API_PASS") - self.session.cert = (cert_file_path, key_file_path) + self.session.cert = (cert_file, key_file) self.session.auth = (user, password) self.session.hooks = dict(response=log_status_code) # self.session.config['keep_alive'] = False