mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 12:09:25 +08:00
Fix: Commission order while choosing shortest commissions
This commit is contained in:
@@ -139,7 +139,8 @@ class RewardCommission(UI, InfoHandler):
|
||||
if no_shortest.count < run.count:
|
||||
logger.info('Not enough commissions to run, add shortest daily commissions')
|
||||
COMMISSION_FILTER.load(SHORTEST_FILTER)
|
||||
shortest = COMMISSION_FILTER.apply(daily, func=self._commission_check)
|
||||
shortest = COMMISSION_FILTER.apply(daily[::-1], func=self._commission_check)
|
||||
# Reverse the daily list to choose better commissions
|
||||
run = no_shortest.add_by_eq(SelectedGrids(shortest))
|
||||
logger.attr('Filter_sort', ' > '.join([str(c) for c in run]))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user