Add back the '-' after hosts in the filename
authorGuilherme Heuser Prestes <redacted>
Fri, 24 Apr 2020 19:16:07 +0000 (21:16 +0200)
committerGitHub <redacted>
Fri, 24 Apr 2020 19:16:07 +0000 (21:16 +0200)
updateHostsFile.py

index fffb5dafc8ffadaad733d33b08141b0ab9e07c6b..89b3e7b67ed1a81ed47c96f0602f5736797e55c6 100644 (file)
@@ -1345,7 +1345,7 @@ def remove_old_hosts_file(old_file_path, backup):
     open(old_file_path, "a").close()
 
     if backup:
-        backup_file_path = old_file_path + "{}".format(
+        backup_file_path = old_file_path + "-{}".format(
             time.strftime("%Y-%m-%d-%H-%M-%S")
         )
 
git clone https://git.99rst.org/PROJECT