Fix detection of whether or not a drop can be progressed
This commit is contained in:
1 parent
1af56199fc
commit
8d77a362b5
2 files changed
+3
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user