Merge branch 'nightly' into python3

This commit is contained in:
JonnyWong16 2019-12-08 12:20:43 -08:00
commit 197c3a327b
4 changed files with 15 additions and 5 deletions

View file

@ -75,7 +75,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: