From: XhmikosR Date: Wed, 27 May 2020 07:54:15 +0000 (+0300) Subject: Update updateHostsFile.py X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=877814eb22570fddf590d3358086bfdf92f250c6;p=stevenblack-hosts.git Update updateHostsFile.py Escape backslashes --- diff --git a/updateHostsFile.py b/updateHostsFile.py index 89b3e7b67..5df7978e1 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -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():