Browse Source

[FIX] name of file

pull/203/head
archetipo 9 years ago
parent
commit
f8cd72eb85
  1. 2
      auto_backup/model/backup_scheduler.py

2
auto_backup/model/backup_scheduler.py

@ -236,7 +236,7 @@ class db_backup(models.Model):
except:
raise
# Create name for dumpfile.
bkp_file = '%s_%s.dimp.zip' % (
bkp_file = '%s_%s.dump.zip' % (
time.strftime('%d_%m_%Y_%H_%M_%S'),
rec.name)
file_path = os.path.join(rec.bkp_dir, bkp_file)

Loading…
Cancel
Save