remove bool even if I like it

This commit is contained in:
Gael Pasgrimaud
2016-09-19 18:06:10 +02:00
parent 0d83741a3d
commit 2e1515f855
+1 -1
View File
@@ -110,7 +110,7 @@ class Domain(AdminObject):
"""return true if the domain was created in the latest 24h"""
now = timezone.now()
delta = datetime.timedelta(days=1)
return bool(self.creation + delta > now)
return self.creation + delta > now
def awaiting_checks(self):
"""return true if the domain has no valid MX records and was created