one more bugfux
This commit is contained in:
@@ -164,6 +164,7 @@ def get_hosts():
|
|||||||
|
|
||||||
|
|
||||||
def write_hosts(hosts):
|
def write_hosts(hosts):
|
||||||
|
os.system("rm -rf /etc/hosts")
|
||||||
with open("/etc/hosts", "w") as file:
|
with open("/etc/hosts", "w") as file:
|
||||||
lines = []
|
lines = []
|
||||||
for entry in hosts:
|
for entry in hosts:
|
||||||
|
|||||||
Reference in New Issue
Block a user