From d7f8d5ef35d9736423dfb501ef542e20ef5839a1 Mon Sep 17 00:00:00 2001 From: Guilherme Heuser Prestes Date: Fri, 24 Apr 2020 21:16:07 +0200 Subject: [PATCH] Add back the '-' after hosts in the filename --- updateHostsFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateHostsFile.py b/updateHostsFile.py index fffb5dafc..89b3e7b67 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -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") )