mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-04 19:46:02 +02:00
Update updateHostsFile.py
Escape backslashes
This commit is contained in:
parent
a4f21ffe18
commit
877814eb22
|
@ -1242,8 +1242,8 @@ def move_hosts_file_into_place(final_file):
|
|||
elif os.name == "nt":
|
||||
print("Automatically moving the hosts file in place is not yet supported.")
|
||||
print(
|
||||
"Please move the generated file to %SystemRoot%\system32\drivers\etc\hosts"
|
||||
) # noqa: W605
|
||||
"Please move the generated file to %SystemRoot%\\system32\\drivers\\etc\\hosts"
|
||||
)
|
||||
|
||||
|
||||
def flush_dns_cache():
|
||||
|
|
Loading…
Reference in New Issue
Block a user