diff --git a/deluge/ui/web/web.py b/deluge/ui/web/web.py index bce168122..c2b5312e1 100644 --- a/deluge/ui/web/web.py +++ b/deluge/ui/web/web.py @@ -42,14 +42,8 @@ class Web(UI): help=_("Port for web server to listen on")) group.add_argument("-b", "--base", metavar="", 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