Renamed has_path method

This commit is contained in:
Mark Qvist 2021-05-14 21:36:44 +02:00
parent 0c76d6a15c
commit a60e4fc5f1
6 changed files with 9 additions and 9 deletions

View file

@ -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