mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +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,
|
||||
"# Fetch the latest version of this file: "
|
||||
"https://raw.githubusercontent.com/StevenBlack/hosts/master/"
|
||||
+ path_join_robust(header_params["outputsubfolder"], "")
|
||||
+ path_join_robust(header_params["outputsubfolder"], "").replace("\\", "/")
|
||||
+ "hosts\n",
|
||||
)
|
||||
write_data(
|
||||
|
Loading…
Reference in New Issue
Block a user