From c6a5ac7f25b3961e8f4d4cd42ee010cea7fe926e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Santos?= Date: Sat, 17 Nov 2018 00:28:34 +0000 Subject: [PATCH] Fix wrong variable usage --- cps/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/server.py b/cps/server.py index 45718f0d..c3dd3f28 100644 --- a/cps/server.py +++ b/cps/server.py @@ -70,8 +70,8 @@ class server: keyfile_path = web.ub.config.get_config_keyfile() if certfile_path and keyfile_path: if os.path.isfile(certfile_path) and os.path.isfile(keyfile_path): - ssl_args = {"certfile": certfile_path, - "keyfile": keyfile_path} + ssl = {"certfile": certfile_path, + "keyfile": keyfile_path} else: web.app.logger.info('The specified paths for the ssl certificate file and/or key file seem to be broken. Ignoring ssl. Cert path: %s | Key path: %s' % (certfile_path, keyfile_path)) else: