Fix getWebsocket
This commit is contained in:
parent
31372e269d
commit
17bbeefeca
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ class Actions(object):
|
|||
return res
|
||||
|
||||
def getWebsocket(self, site):
|
||||
from lib import websocket
|
||||
import websocket
|
||||
ws = websocket.create_connection("ws://%s:%s/Websocket?wrapper_key=%s" % (config.ui_ip, config.ui_port, site.settings["wrapper_key"]))
|
||||
return ws
|
||||
|
||||
|
|
Loading…
Reference in a new issue