From 7f087285cf1a5dfe225c3e041ce9d64711d0d758 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 18 Mar 2012 08:12:48 +0100 Subject: [PATCH] import threading --- client/interface.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/interface.py b/client/interface.py index c4c6ce00..28d3ad51 100644 --- a/client/interface.py +++ b/client/interface.py @@ -18,9 +18,7 @@ import random, socket, ast - - -import thread, traceback, sys, time, json +import thread, threading, traceback, sys, time, json DEFAULT_TIMEOUT = 5 DEFAULT_SERVERS = ['ecdsa.org','electrum.novit.ro'] # list of default servers @@ -287,7 +285,6 @@ class HttpInterface(PollingInterface): -import threading class AsynchronousInterface(Interface): """json-rpc over persistent TCP connection, asynchronous"""