[WebUI] Remove openssl check as already a requirement

This commit is contained in:
Calum Lind 2016-04-28 10:53:20 +01:00
parent 7b523af05b
commit b255fc40af

View File

@ -42,14 +42,8 @@ class Web(UI):
help=_("Port for web server to listen on"))
group.add_argument("-b", "--base", metavar="<path>", action="store",
help=_("Set the base path that the ui is running on"))
try:
import OpenSSL
assert OpenSSL.__version__
except ImportError:
pass
else:
group.add_argument("--ssl", action="store_true", help=_("Force the web server to use SSL"))
group.add_argument("--no-ssl", action="store_true", help=_("Force the web server to disable SSL"))
group.add_argument("--ssl", action="store_true", help=_("Force the web server to use SSL"))
group.add_argument("--no-ssl", action="store_true", help=_("Force the web server to disable SSL"))
self.parser.add_process_arg_group()
@property