fixed has_ssl, thanks leonel
This commit is contained in:
+1
-1
@@ -745,7 +745,7 @@ class HttpServer(object):
|
|||||||
sock_list = [ip, port]
|
sock_list = [ip, port]
|
||||||
if not ssl_certificate or not ssl_private_key:
|
if not ssl_certificate or not ssl_private_key:
|
||||||
logger.info('SSL is off')
|
logger.info('SSL is off')
|
||||||
elif not rocket.ssl:
|
elif not rocket.has_ssl:
|
||||||
logger.warning('Python "ssl" module unavailable. SSL is OFF')
|
logger.warning('Python "ssl" module unavailable. SSL is OFF')
|
||||||
elif not exists(ssl_certificate):
|
elif not exists(ssl_certificate):
|
||||||
logger.warning('unable to open SSL certificate. SSL is OFF')
|
logger.warning('unable to open SSL certificate. SSL is OFF')
|
||||||
|
|||||||
+1
-1
Submodule gluon/packages/dal updated: f66ad17694...c707d55899
Reference in New Issue
Block a user