one more bugfux

This commit is contained in:
Sebastian Moser
2024-07-16 18:58:27 +02:00
parent dedc486f56
commit 20bf23fbc2

View File

@@ -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: