Update updateHostsFile.py

Escape backslashes
This commit is contained in:
XhmikosR 2020-05-27 10:54:15 +03:00 committed by GitHub
parent a4f21ffe18
commit 877814eb22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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