Merge pull request #1171 from funilrys/backslashes-make-hosts-windows

Fix backslashes issue under Windows.
This commit is contained in:
Steven Black authored and GitHub committed 2020-02-24 13:28:16 -05:00
commit e168909d11
1 file changed
+1 -1
+1 -1
View File
@@ -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(