Added delete function to delete temporary backup files
This commit is contained in:
parent
8bc4b4c125
commit
63b28bcf9d
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ def delete_temp_backups():
|
|||
file_list = os.listdir(backup_link_path)
|
||||
for this_file in file_list:
|
||||
this_file_path = backup_link_path + this_file
|
||||
if is_file_old(this_file_path, 1):
|
||||
if is_file_old(this_file_path):
|
||||
os.remove(this_file_path)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue