Update updateHostsFile.py
authorXhmikosR <redacted>
Wed, 27 May 2020 07:54:15 +0000 (10:54 +0300)
committerGitHub <redacted>
Wed, 27 May 2020 07:54:15 +0000 (10:54 +0300)
Escape backslashes

updateHostsFile.py

index 89b3e7b67ed1a81ed47c96f0602f5736797e55c6..5df7978e19b86ad892c599043484c2721feef254 100644 (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():
git clone https://git.99rst.org/PROJECT