Skip to content

Commit d20337b

Browse files
committed
Minor fix and readme update.
1 parent cbb3e14 commit d20337b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ip2trace.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def print_usage():
132132
"\n"
133133
" -d, --database\n"
134134
" Specify the path of IP2Location BIN database file. You can download the latest free IP2Location BIN database from https://lite.ip2location.com.\n"
135-
" If the database filename is specified but without the path, ip2tracepy will search the database file in /usr/share/ip2location/ for Linux or C:\Users\(your_Windows_username)\Documents\ for Windows.\n"
135+
" If the database filename is specified but without the path, ip2tracepy will search the database file in /usr/share/ip2location/ for Linux or C:\\Users\\(your_Windows_username)\\Documents\\ for Windows.\n"
136136
"\n"
137137
" -t, --ttl\n"
138138
" Set the max number of hops. (Default: 30)\n"
@@ -152,7 +152,7 @@ def print_usage():
152152

153153
def print_version():
154154
print(
155-
"IP2Location Geolocation Traceroute (ip2trace) Version 3.1.0\n"
155+
"IP2Location Geolocation Traceroute (ip2trace) Version 3.1.1\n"
156156
"Copyright (c) 2021 IP2Location.com [MIT License]\n"
157157
"https://www.ip2location.com/free/traceroute-application\n")
158158

@@ -227,7 +227,7 @@ def __init__(self, destination_server, database, max_hops, output, all):
227227
sys.exit()
228228

229229
def print_start(self):
230-
print("IP2Location Geolocation Traceroute (ip2trace) Version 3.1.0\n"
230+
print("IP2Location Geolocation Traceroute (ip2trace) Version 3.1.1\n"
231231
"Copyright (c) 2021 IP2Location.com [MIT License]\n"
232232
"https://www.ip2location.com/free/traceroute-application\n\n")
233233
# print("Traceroute to", self.destination_domain_name[0], "(", self.destination_ip, ")\n\n", end="")

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ip2tracepy 8.8.8.8 -d /usr/share/ip2location/DB3.BIN -a
5252
Example output:
5353

5454
```bash
55-
IP2Location Geolocation Traceroute (ip2trace) Version 3.1.0
55+
IP2Location Geolocation Traceroute (ip2trace) Version 3.1.1
5656
Copyright (c) 2021 IP2Location.com [MIT License]
5757
https://www.ip2location.com/free/traceroute-application
5858

@@ -78,7 +78,7 @@ ip2tracepy google.com -d /usr/share/ip2location/DB3.BIN -a
7878
Example output:
7979

8080
```bash
81-
IP2Location Geolocation Traceroute (ip2trace) Version 3.1.0
81+
IP2Location Geolocation Traceroute (ip2trace) Version 3.1.1
8282
Copyright (c) 2021 IP2Location.com [MIT License]
8383
https://www.ip2location.com/free/traceroute-application
8484

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="3.1.0",
9+
version="3.1.1",
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)