Explorar el Código

Added delete function to delete temporary backup files

version-14
Anand Doshi hace 14 años
padre
commit
63b28bcf9d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      cgi-bin/webnotes/utils/backups.py

+ 1
- 1
cgi-bin/webnotes/utils/backups.py Ver fichero

@@ -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)




Cargando…
Cancelar
Guardar