Fix detection of whether or not a drop can be progressed

This commit is contained in:
DevilXD committed 2022-01-09 14:13:08 +01:00
1 parent 1af56199fc
commit 8d77a362b5
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ class BaseDrop:
self._preconditions # preconditions are met
and self.campaign.active # campaign is active
and not self.is_claimed # drop isn't already claimed
and self.starts_at <= datetime.utcnow() < self.ends_at # it's within the timeframe
)
@property