Skip to content

Commit

Permalink
fix(ssl): make import optional for ParaView
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Aug 24, 2022
1 parent 6b14c84 commit be11056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/src/wslink/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import argparse
import asyncio
import logging
from .ssl_context import *

from wslink import websocket as wsl
from wslink import backends
Expand Down Expand Up @@ -242,6 +241,8 @@ def start_webserver(

# Confifugre SSL
if len(options.ssl) > 0:
from .ssl_context import generate_ssl_pair

if options.ssl == "adhoc":
options.ssl = generate_ssl_pair(server_config["host"])
else:
Expand Down

0 comments on commit be11056

Please sign in to comment.