We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a77050 commit f8da969Copy full SHA for f8da969
housewatch/models/backup.py
@@ -47,7 +47,7 @@ def month_of_year(self):
47
return self.schedule.split(" ")[3]
48
49
def is_database_backup(self):
50
- return self.table is None
+ return not self.table
51
52
def is_table_backup(self):
53
return self.table is not None
0 commit comments