diff --git a/housewatch/models/backup.py b/housewatch/models/backup.py index c19b61e..fc81976 100644 --- a/housewatch/models/backup.py +++ b/housewatch/models/backup.py @@ -47,7 +47,7 @@ def month_of_year(self): return self.schedule.split(" ")[3] def is_database_backup(self): - return self.table is None + return not self.table def is_table_backup(self): return self.table is not None