Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 62fbc8e

Browse files
committed
Review of the domain_to_idna() notes.
This patch fix : StevenBlack/hosts#520 (comment)
1 parent 95bcaf3 commit 62fbc8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

updateHostsFile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def domain_to_idna(line):
11461146
11471147
Notes
11481148
-----
1149-
- This method/function encode only the domain to `idna` format because in
1149+
- This function encode only the domain to `idna` format because in
11501150
most cases the encoding issue is due to a domain which looks like
11511151
`b'\xc9\xa2oogle.com'.decode('idna')`.
11521152
- About the splitting:

0 commit comments

Comments
 (0)