mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Hound
This commit is contained in:
parent
fe3cfc2442
commit
180035731b
11 changed files with 17 additions and 50 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import asyncio
|
||||
|
||||
from pype.api import Logger
|
||||
from wsrpc_aiohttp import WebSocketRoute
|
||||
|
||||
|
|
@ -30,5 +28,6 @@ class Photoshop(WebSocketRoute):
|
|||
# client functions
|
||||
|
||||
async def read(self):
|
||||
log.debug("photoshop.read client calls server server calls Photo client")
|
||||
log.debug("photoshop.read client calls server server calls "
|
||||
"Photo client")
|
||||
return await self.socket.call('Photoshop.read')
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ class WebSocketServer():
|
|||
|
||||
@staticmethod
|
||||
def get_instance():
|
||||
if WebSocketServer._instance == None:
|
||||
if WebSocketServer._instance is None:
|
||||
WebSocketServer()
|
||||
return WebSocketServer._instance
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue