mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Fix integrity check before database backup
This commit is contained in:
parent
d1e401cb0c
commit
55aad4e6ee
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def make_backup(cleanup=False, scheduler=False):
|
|||
""" Makes a backup of db, removes all but the last 5 backups """
|
||||
|
||||
# Check the integrity of the database first
|
||||
integrity = (integrity_check() == 'ok')
|
||||
integrity = (integrity_check()['integrity_check'] == 'ok')
|
||||
|
||||
corrupt = ''
|
||||
if not integrity:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue