mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
get_total_run: Fix handling for house campaigns.
This commit is contained in:
@@ -955,7 +955,7 @@ def get_total_run(thing):
|
||||
earliest = None
|
||||
latest = None
|
||||
for campaign in campaigns:
|
||||
if not campaign.trans_id:
|
||||
if not charged_or_not_needed(campaign):
|
||||
continue
|
||||
|
||||
if not earliest or campaign.start_date < earliest:
|
||||
|
||||
Reference in New Issue
Block a user