Return removed comment about hosts format
This commit is contained in:
parent
a85ac1725f
commit
1ccb464d1c
@ -230,6 +230,7 @@ class HostBlocker:
|
|||||||
# "one host per line" format
|
# "one host per line" format
|
||||||
hosts = [parts[0]]
|
hosts = [parts[0]]
|
||||||
else:
|
else:
|
||||||
|
# /etc/hosts format
|
||||||
hosts = parts[1:]
|
hosts = parts[1:]
|
||||||
|
|
||||||
for host in hosts:
|
for host in hosts:
|
||||||
|
Loading…
Reference in New Issue
Block a user