mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
set port variable to None so the variable exists
This commit is contained in:
parent
aef9d44f1d
commit
2416d4d33f
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ class WebSocketServer():
|
|||
self.client = None
|
||||
self.handlers = {}
|
||||
|
||||
port = None
|
||||
websocket_url = os.getenv("WEBSOCKET_URL")
|
||||
if websocket_url:
|
||||
parsed = urllib.parse.urlparse(websocket_url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue