mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
commit
691fc54370
1 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ from collections import defaultdict
|
||||||
try:
|
try:
|
||||||
from SimpleWebSocketServer import WebSocket, SimpleSSLWebSocketServer
|
from SimpleWebSocketServer import WebSocket, SimpleSSLWebSocketServer
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print "install SimpleWebSocketServer"
|
import sys
|
||||||
sys.exit()
|
sys.exit("install SimpleWebSocketServer")
|
||||||
|
|
||||||
import util
|
import util
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ class WsClientThread(util.DaemonThread):
|
||||||
except Queue.Empty:
|
except Queue.Empty:
|
||||||
continue
|
continue
|
||||||
id = r.get('id')
|
id = r.get('id')
|
||||||
if id is None:
|
if id is None:
|
||||||
method = r.get('method')
|
method = r.get('method')
|
||||||
params = r.get('params')
|
params = r.get('params')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue