Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from mattrobenolt/fix-usage-copy

Second data point is for the past two weeks
  • Loading branch information...
commit 49cd4a78a2f5f5cc592185a8e67bd470f6df685c 2 parents 8c53768 + 3a8d3b3
@gtaylor gtaylor authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 seacucumber/management/commands/ses_usage.py
View
4 seacucumber/management/commands/ses_usage.py
@@ -42,11 +42,9 @@ def _print_daily_stats(self, conn):
stats = stats['SendDataPoints']
today = datetime.date.today()
- yesterday = today - datetime.timedelta(days=1)
current_day = {'HeaderName': 'Current Day: %s/%s' % (today.month,
today.day)}
- prev_day = {'HeaderName': 'Yesterday: %s/%s' % (yesterday.month,
- yesterday.day)}
+ prev_day = {'HeaderName': 'Past two weeks'}
for data_point in stats:
if self._is_data_from_today(data_point):
Please sign in to comment.
Something went wrong with that request. Please try again.