From 877814eb22570fddf590d3358086bfdf92f250c6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 27 May 2020 10:54:15 +0300 Subject: [PATCH] Update updateHostsFile.py Escape backslashes --- updateHostsFile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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():