mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hound
This commit is contained in:
parent
a00b11d31f
commit
06359c6dc3
3 changed files with 5 additions and 6 deletions
|
|
@ -61,4 +61,4 @@ class Photoshop(WebSocketRoute):
|
|||
photoshop.execute_in_main_thread(partial_method)
|
||||
|
||||
# Required return statement.
|
||||
return "nothing"
|
||||
return "nothing"
|
||||
|
|
|
|||
|
|
@ -164,8 +164,7 @@ class PhotoshopServerStub():
|
|||
:return: <string> full path with name
|
||||
"""
|
||||
res = self.websocketserver.call(
|
||||
self.client.call
|
||||
('Photoshop.get_active_document_full_name'))
|
||||
self.client.call('Photoshop.get_active_document_full_name'))
|
||||
|
||||
return res
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from pype.api import config, Logger
|
||||
from pype.api import Logger
|
||||
|
||||
import threading
|
||||
from aiohttp import web
|
||||
|
|
@ -37,8 +37,8 @@ class WebSocketServer():
|
|||
if websocket_url:
|
||||
parsed = urllib.parse.urlparse(websocket_url)
|
||||
port = parsed.port
|
||||
if not port:
|
||||
port = 8099 # try default port
|
||||
if not port:
|
||||
port = 8099 # fallback
|
||||
|
||||
self.app = web.Application()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue