[minor] fix backup
This commit is contained in:
parent
a8c96957bb
commit
918a388bef
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class BackupGenerator:
|
|||
last_db, last_file = self.get_recent_backup(older_than)
|
||||
if not (self.backup_path_files and self.backup_path_db):
|
||||
self.set_backup_file_name()
|
||||
if not last_db and last_file:
|
||||
if not last_db and not last_file:
|
||||
self.take_dump()
|
||||
if not ignore_files:
|
||||
self.zip_files()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue