cmd_receive_text: remove unused 'time' import
This commit is contained in:
parent
cef9abcdd7
commit
5fd85fd884
|
@ -1,5 +1,5 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys, time, json
|
import sys, json
|
||||||
from wormhole.blocking.transcribe import Receiver, WrongPasswordError
|
from wormhole.blocking.transcribe import Receiver, WrongPasswordError
|
||||||
|
|
||||||
APPID = "lothar.com/wormhole/text-xfer"
|
APPID = "lothar.com/wormhole/text-xfer"
|
||||||
|
@ -12,7 +12,6 @@ def receive_text(so):
|
||||||
if not code:
|
if not code:
|
||||||
code = r.input_code("Enter receive-text wormhole code: ")
|
code = r.input_code("Enter receive-text wormhole code: ")
|
||||||
r.set_code(code)
|
r.set_code(code)
|
||||||
start = time.time()
|
|
||||||
try:
|
try:
|
||||||
them_bytes = r.get_data()
|
them_bytes = r.get_data()
|
||||||
except WrongPasswordError as e:
|
except WrongPasswordError as e:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user