update code to match rearranged source tree
This commit is contained in:
parent
e3964cd797
commit
d6ef752152
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import time, json
|
import time, json
|
||||||
from wormhole.transcribe import Receiver
|
from wormhole.blocking.transcribe import Receiver
|
||||||
from wormhole.codes import input_code_with_completion
|
from wormhole.codes import input_code_with_completion
|
||||||
|
|
||||||
APPID = "lothar.com/wormhole/text-xfer"
|
APPID = "lothar.com/wormhole/text-xfer"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys, json
|
import sys, json
|
||||||
from wormhole.transcribe import Initiator
|
from wormhole.blocking.transcribe import Initiator
|
||||||
|
|
||||||
APPID = "lothar.com/wormhole/text-xfer"
|
APPID = "lothar.com/wormhole/text-xfer"
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@ from binascii import hexlify, unhexlify
|
||||||
from spake2 import SPAKE2_A, SPAKE2_B
|
from spake2 import SPAKE2_A, SPAKE2_B
|
||||||
from nacl.secret import SecretBox
|
from nacl.secret import SecretBox
|
||||||
from nacl import utils
|
from nacl import utils
|
||||||
from . import codes
|
from .. import codes
|
||||||
from .hkdf import HKDF
|
from ..util.hkdf import HKDF
|
||||||
from .const import RELAY
|
from ..const import RELAY
|
||||||
|
|
||||||
SECOND = 1
|
SECOND = 1
|
||||||
MINUTE = 60*SECOND
|
MINUTE = 60*SECOND
|
||||||
|
|
Loading…
Reference in New Issue
Block a user