mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-02 22:54:54 -04:00
Renamed has_path method
This commit is contained in:
parent
0c76d6a15c
commit
a60e4fc5f1
6 changed files with 9 additions and 9 deletions
|
@ -209,10 +209,10 @@ def client(destination_hexhash, configpath):
|
|||
|
||||
|
||||
# Check if we know a path to the destination
|
||||
if not RNS.Transport.hasPath(destination_hash):
|
||||
if not RNS.Transport.has_path(destination_hash):
|
||||
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
||||
RNS.Transport.requestPath(destination_hash)
|
||||
while not RNS.Transport.hasPath(destination_hash):
|
||||
while not RNS.Transport.has_path(destination_hash):
|
||||
time.sleep(0.1)
|
||||
|
||||
# Recall the server identity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue