Skip to content

Commit c9cd5ab

Browse files
authored
Minor change
1 parent 8cc8fd6 commit c9cd5ab

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

ip2trace.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def print_usage():
140140

141141
def print_version():
142142
print(
143-
"IP2Location Geolocation Traceroute (ip2trace) Version 2.1.5\n"
143+
"IP2Location Geolocation Traceroute (ip2trace) Version 2.1.7\n"
144144
"Copyright (c) 2021 IP2Location.com [MIT License]\n"
145145
"https://www.ip2location.com/free/traceroute-application\n")
146146

@@ -215,10 +215,9 @@ def __init__(self, destination_server, database, max_hops, output, all):
215215
sys.exit()
216216

217217
def print_start(self):
218-
print("IP2Location Geolocation Traceroute (ip2trace) Version 2.1.6\n"
218+
print("IP2Location Geolocation Traceroute (ip2trace) Version 2.1.7\n"
219219
"Copyright (c) 2021 IP2Location.com [MIT License]\n"
220220
"https://www.ip2location.com/free/traceroute-application\n\n")
221-
# "Traceroute to {}\({}\)\n\n".format(self.destination_domain_name, self.destination_ip))
222221
# "Traceroute to", self.destination_domain_name, "(", self.destination_ip, ")\n\n")
223222
# "Traceroute to", self.destination_domain_name[0], "(", self.destination_ip, ")\n\n")
224223
print("Traceroute to", self.destination_domain_name[0], "(", self.destination_ip, ")\n\n", end="")
@@ -386,7 +385,9 @@ def tracer(self):
386385
delay = (receive_time - sent_time) * 1000.0
387386
# print(delay)
388387
delays.append(delay)
389-
time.sleep(1)
388+
# time.sleep(0.1)
389+
# time.sleep(0.01)
390+
time.sleep(0.005)
390391
# if len(delays) > 0:
391392
if len(delays) > 0 and ip_header is not None:
392393
self.print_trace(delays, ip_header)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="IP2Trace",
9-
version="2.1.6",
9+
version="2.1.7",
1010
description="A Python tool to display geolocation information in the traceroute.",
1111
long_description_content_type="text/markdown",
1212
long_description=long_description,

0 commit comments

Comments
 (0)