mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-02-22 00:41:15 +00:00
Compare commits
No commits in common. "27c5af3bbc21aa109a668c0a74f17001f5f36d4b" and "8f6c6b76de7b8eb358854754fdc7c00e0938e574" have entirely different histories.
27c5af3bbc
...
8f6c6b76de
@ -110,7 +110,7 @@ def program_setup(configdir, destination_hexhash, size=None, full_name = None, v
|
|||||||
print("\rSent "+str(size)+" byte probe to "+RNS.prettyhexrep(destination_hash)+more+" ", end=" ")
|
print("\rSent "+str(size)+" byte probe to "+RNS.prettyhexrep(destination_hash)+more+" ", end=" ")
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
while receipt.status == RNS.PacketReceipt.SENT:
|
while not receipt.status == RNS.PacketReceipt.DELIVERED:
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
print(("\b\b"+syms[i]+" "), end="")
|
print(("\b\b"+syms[i]+" "), end="")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
@ -119,7 +119,6 @@ def program_setup(configdir, destination_hexhash, size=None, full_name = None, v
|
|||||||
print("\b\b ")
|
print("\b\b ")
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
||||||
if receipt.status == RNS.PacketReceipt.DELIVERED:
|
|
||||||
hops = RNS.Transport.hops_to(destination_hash)
|
hops = RNS.Transport.hops_to(destination_hash)
|
||||||
if hops != 1:
|
if hops != 1:
|
||||||
ms = "s"
|
ms = "s"
|
||||||
@ -161,9 +160,6 @@ def program_setup(configdir, destination_hexhash, size=None, full_name = None, v
|
|||||||
reception_stats
|
reception_stats
|
||||||
)
|
)
|
||||||
|
|
||||||
else:
|
|
||||||
print("Probe timed out")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user