mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-14 00:00:34 +02:00
Merge pull request #1171 from funilrys/backslashes-make-hosts-windows
Fix backslashes issue under Windows.
This commit is contained in:
commit
e168909d11
@ -1071,7 +1071,7 @@ def write_opening_header(final_file, **header_params):
|
|||||||
final_file,
|
final_file,
|
||||||
"# Fetch the latest version of this file: "
|
"# Fetch the latest version of this file: "
|
||||||
"https://raw.githubusercontent.com/StevenBlack/hosts/master/"
|
"https://raw.githubusercontent.com/StevenBlack/hosts/master/"
|
||||||
+ path_join_robust(header_params["outputsubfolder"], "")
|
+ path_join_robust(header_params["outputsubfolder"], "").replace("\\", "/")
|
||||||
+ "hosts\n",
|
+ "hosts\n",
|
||||||
)
|
)
|
||||||
write_data(
|
write_data(
|
||||||
|
Loading…
Reference in New Issue
Block a user