messages
This commit is contained in:
parent
84ea4dae01
commit
2e180617c1
|
@ -334,7 +334,7 @@ def new_interface(wallet):
|
|||
elif port in [80,8080,81,8181]:
|
||||
interface = HttpInterface(host,port)
|
||||
else:
|
||||
print "unknown protocol: %d"%port
|
||||
print "unknown port number: %d. using native protocol."%port
|
||||
interface = NativeInterface(host,port)
|
||||
|
||||
return interface
|
||||
|
@ -355,5 +355,6 @@ def loop_interfaces_thread(wallet):
|
|||
traceback.print_exc(file=sys.stdout)
|
||||
continue
|
||||
|
||||
print "Starting new session: %s:%d"%(wallet.host,wallet.port)
|
||||
wallet.interface = new_interface(wallet)
|
||||
|
||||
|
|
Loading…
Reference in New Issue