mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix - changed usage of QThread to threading.Thread
Apparently QThread is making problems on some non-gui linux distros
This commit is contained in:
parent
d6485030b5
commit
a29c84e9af
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from pype.api import config, Logger
|
||||
from Qt import QtCore
|
||||
|
||||
import threading
|
||||
from aiohttp import web, WSCloseCode
|
||||
import asyncio
|
||||
import weakref
|
||||
|
|
@ -93,7 +93,7 @@ class WebSocketServer():
|
|||
message='Server shutdown')
|
||||
|
||||
|
||||
class WebsocketServerThread(QtCore.QThread):
|
||||
class WebsocketServerThread(threading.Thread):
|
||||
""" Listener for websocket rpc requests.
|
||||
|
||||
It would be probably better to "attach" this to main thread (as for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue