[WebUI] Remove openssl check as already a requirement
This commit is contained in:
parent
7b523af05b
commit
b255fc40af
@ -42,12 +42,6 @@ class Web(UI):
|
|||||||
help=_("Port for web server to listen on"))
|
help=_("Port for web server to listen on"))
|
||||||
group.add_argument("-b", "--base", metavar="<path>", action="store",
|
group.add_argument("-b", "--base", metavar="<path>", action="store",
|
||||||
help=_("Set the base path that the ui is running on"))
|
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("--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("--no-ssl", action="store_true", help=_("Force the web server to disable SSL"))
|
||||||
self.parser.add_process_arg_group()
|
self.parser.add_process_arg_group()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user