mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-01 01:55:57 +02:00
Add back the '-' after hosts in the filename
This commit is contained in:
parent
b40aa38ee6
commit
d7f8d5ef35
|
@ -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")
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user