Minor syntax simplification
This commit is contained in:
1 parent
9e3ae85fa5
commit
84d0dc1045
1 file changed
+6
-8
+6
-8
@@ -210,14 +210,12 @@ class TimedDrop(BaseDrop):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def total_remaining_minutes(self) -> int:
|
def total_remaining_minutes(self) -> int:
|
||||||
return (
|
return sum(
|
||||||
sum(
|
(
|
||||||
(
|
self.campaign.timed_drops[pid].remaining_minutes
|
||||||
self.campaign.timed_drops[pid].remaining_minutes
|
for pid in self._all_preconditions
|
||||||
for pid in self._all_preconditions
|
),
|
||||||
),
|
start=self.remaining_minutes,
|
||||||
start=self.remaining_minutes,
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
|||||||
Reference in new issue
Block a user