mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
[WebUI] Remove openssl check as already a requirement
This commit is contained in:
parent
7b523af05b
commit
b255fc40af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user