git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a4f21ff
)
Update updateHostsFile.py
author
XhmikosR
<redacted>
Wed, 27 May 2020 07:54:15 +0000
(10:54 +0300)
committer
GitHub
<redacted>
Wed, 27 May 2020 07:54:15 +0000
(10:54 +0300)
Escape backslashes
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 89b3e7b67ed1a81ed47c96f0602f5736797e55c6..5df7978e19b86ad892c599043484c2721feef254 100644
(file)
--- 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():
git clone https://git.99rst.org/PROJECT