Add back the '-' after hosts in the filename

This commit is contained in:
Guilherme Heuser Prestes 2020-04-24 21:16:07 +02:00 committed by GitHub
parent b40aa38ee6
commit d7f8d5ef35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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")
)